fix: improve lock capacity calculation for smaller VMs
All checks were successful
CI/CD / Test (push) Successful in 1m16s
CI/CD / Lint (push) Successful in 1m25s
CI/CD / Build & Release (push) Successful in 3m13s

- Fix boostLockCapacity: max_locks_per_transaction requires RESTART, not reload
- Calculate total lock capacity: max_locks × (max_connections + max_prepared_txns)
- Add TotalLockCapacity to preflight checks with warning if < 200,000
- Update error hints to explain capacity formula and recommend 4096+ for small VMs
- Show max_connections and total capacity in preflight summary

Fixes OOM 'out of shared memory' errors on VMs with reduced resources
This commit is contained in:
2026-01-17 07:48:17 +01:00
parent 4ea3ec2cf8
commit dd1db844ce
4 changed files with 122 additions and 28 deletions

View File

@@ -4,8 +4,8 @@ This directory contains pre-compiled binaries for the DB Backup Tool across mult
## Build Information
- **Version**: 3.42.50
- **Build Time**: 2026-01-16_18:37:32_UTC
- **Git Commit**: 9200024
- **Build Time**: 2026-01-17_06:25:57_UTC
- **Git Commit**: 4ea3ec2
## Recent Updates (v1.1.0)
- ✅ Fixed TUI progress display with line-by-line output