diff --git a/weed/filer/filer_remote_tombstone.go b/weed/filer/filer_remote_tombstone.go index b07a05ff7a..28df87a50c 100644 --- a/weed/filer/filer_remote_tombstone.go +++ b/weed/filer/filer_remote_tombstone.go @@ -487,8 +487,8 @@ func (f *Filer) rebuildRemoteDeletionTombstones(ctx context.Context, mounts []ut ctx = context.WithValue(ctx, lazyFetchContextKey{}, true) startTsNs := f.remoteDeletionRebuildStartTsNs(ctx, mounts) openGate := func() { - close(done) f.remoteTombstonesDone.Store(nil) + close(done) } // Deletes made after startup are recorded through the live delete and // event paths, so replay can only be missing deletes committed before