0
0
Fork 0
This commit is contained in:
Steve Yen 2018-03-07 09:12:55 -08:00
parent 59eb70d020
commit 2b5da7a819
1 changed files with 3 additions and 3 deletions

View File

@ -193,7 +193,7 @@ func (s *Scorch) planMergeAtSnapshot(ourSnapshot *IndexSnapshot,
atomic.StoreUint64(&s.stats.MaxFileMergeZapTime, fileMergeZapTime)
}
if err != nil {
if err != nil {
s.unmarkIneligibleForRemoval(filename)
atomic.AddUint64(&s.stats.TotFileMergePlanTasksErr, 1)
return fmt.Errorf("merging failed: %v", err)