diff options
| author | Lisandro Pin <lisandro.pin@proton.ch> | 2025-11-25 22:41:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-25 13:41:03 -0800 |
| commit | 2843cb1255642816dab23562bfa68f98d80aebd1 (patch) | |
| tree | 0facd53dcfcd887853d929f83c697e813801e1aa /test/postgres/producer.go | |
| parent | 2e6c746a30600f54a7a2a4da0b068dbcc5945e5f (diff) | |
| download | seaweedfs-2843cb1255642816dab23562bfa68f98d80aebd1.tar.xz seaweedfs-2843cb1255642816dab23562bfa68f98d80aebd1.zip | |
Bootstrap logic to fix read-only volumes with `volume.check.disk`. (#7531)
* Bootstrap logic to fix read-only volumes with `volume.check.disk`.
The new implementation performs a second pass where read-only volumes are (optionally)
verified and fixed.
For each non-writable volume ID A:
if volume is not full
prune late volume entries not matching its index file
select a writable volume replica B
append missing entries from B into A
mark the volume as writable (healthy)
* variable and parameter renaming
---------
Co-authored-by: chrislu <chris.lu@gmail.com>
Diffstat (limited to 'test/postgres/producer.go')
0 files changed, 0 insertions, 0 deletions
