Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a759f4d3db | |||
| 7cf1d6f85b | |||
| b305d1342e | |||
| 5456da7183 |
@@ -4,8 +4,8 @@ This directory contains pre-compiled binaries for the DB Backup Tool across mult
|
|||||||
|
|
||||||
## Build Information
|
## Build Information
|
||||||
- **Version**: 3.42.50
|
- **Version**: 3.42.50
|
||||||
- **Build Time**: 2026-01-18_17:17:17_UTC
|
- **Build Time**: 2026-01-18_20:14:09_UTC
|
||||||
- **Git Commit**: a0a401c
|
- **Git Commit**: b305d13
|
||||||
|
|
||||||
## Recent Updates (v1.1.0)
|
## Recent Updates (v1.1.0)
|
||||||
- ✅ Fixed TUI progress display with line-by-line output
|
- ✅ Fixed TUI progress display with line-by-line output
|
||||||
|
|||||||
@@ -445,6 +445,12 @@ func (c *Config) ApplyResourceProfile(profileName string) error {
|
|||||||
|
|
||||||
// Apply profile settings
|
// Apply profile settings
|
||||||
c.ResourceProfile = profile.Name
|
c.ResourceProfile = profile.Name
|
||||||
|
|
||||||
|
// If LargeDBMode is enabled, apply its modifiers
|
||||||
|
if c.LargeDBMode {
|
||||||
|
profile = cpu.ApplyLargeDBMode(profile)
|
||||||
|
}
|
||||||
|
|
||||||
c.ClusterParallelism = profile.ClusterParallelism
|
c.ClusterParallelism = profile.ClusterParallelism
|
||||||
c.Jobs = profile.Jobs
|
c.Jobs = profile.Jobs
|
||||||
c.DumpJobs = profile.DumpJobs
|
c.DumpJobs = profile.DumpJobs
|
||||||
|
|||||||
@@ -1171,12 +1171,12 @@ func formatRestoreError(errStr string) string {
|
|||||||
|
|
||||||
// Provide specific recommendations based on error
|
// Provide specific recommendations based on error
|
||||||
if strings.Contains(errStr, "out of shared memory") || strings.Contains(errStr, "max_locks_per_transaction") {
|
if strings.Contains(errStr, "out of shared memory") || strings.Contains(errStr, "max_locks_per_transaction") {
|
||||||
s.WriteString(errorStyle.Render(" • Cannot access file: stat : no such file or directory\n"))
|
s.WriteString(errorStyle.Render(" • PostgreSQL lock table exhausted\n"))
|
||||||
s.WriteString("\n")
|
s.WriteString("\n")
|
||||||
s.WriteString(infoStyle.Render(" ─── [HINT] Recommendations ────────────────────────────────"))
|
s.WriteString(infoStyle.Render(" ─── [HINT] Recommendations ────────────────────────────────"))
|
||||||
s.WriteString("\n\n")
|
s.WriteString("\n\n")
|
||||||
s.WriteString(" Lock table exhausted. Total capacity = max_locks_per_transaction\n")
|
s.WriteString(" Lock capacity = max_locks_per_transaction\n")
|
||||||
s.WriteString(" × (max_connections + max_prepared_transactions).\n\n")
|
s.WriteString(" × (max_connections + max_prepared_transactions)\n\n")
|
||||||
s.WriteString(" If you reduced VM size or max_connections, you need higher\n")
|
s.WriteString(" If you reduced VM size or max_connections, you need higher\n")
|
||||||
s.WriteString(" max_locks_per_transaction to compensate.\n\n")
|
s.WriteString(" max_locks_per_transaction to compensate.\n\n")
|
||||||
s.WriteString(successStyle.Render(" FIX OPTIONS:\n"))
|
s.WriteString(successStyle.Render(" FIX OPTIONS:\n"))
|
||||||
|
|||||||
Reference in New Issue
Block a user