Browse Source

Bypass compaction revision check to handle volumes compacted after task creation

add-ec-vacuum
chrislu 4 months ago
parent
commit
a31fc1ac01
  1. 1
      weed/worker/tasks/erasure_coding/ec_task.go

1
weed/worker/tasks/erasure_coding/ec_task.go

@ -275,6 +275,7 @@ func (t *ErasureCodingTask) copyFileFromSource(ext, localPath string) error {
Collection: t.collection,
Ext: ext,
StopOffset: uint64(math.MaxInt64),
CompactionRevision: math.MaxUint32, // Bypass compaction revision check to handle volumes compacted after task creation
})
if err != nil {
return fmt.Errorf("failed to initiate file copy: %v", err)

Loading…
Cancel
Save