cloudnative-pg / cloudnative-pg/plugin-barman-cloud
Support parallel restore (jobs) for basebackup in barman-cloud plugin
Open
enhancement
- Dominant language
- Go
- Stars
- 191
- Forks
- 72
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 18
Description
Currently, the barman-cloud plugin supports parallelism for:
backup (data.jobs)
WAL restore (wal.maxParallel)
However, basebackup restore via barman-cloud-restore appears to run single-threaded.
For large databases, this creates a significant performance bottleneck during recovery.
Contributor guide
Research direction
Start at the barman-cloud-restore entry point and compare how existing data.jobs backup parallelism and wal.maxParallel WAL restore are handled. Determine how basebackup restore currently executes, then verify that it accepts and uses parallel jobs so large database recovery is no longer single-threaded.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, postgresql
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100