Add missing firstFreeTierIndex reset in globalMutableState, in SegmentsRecovery

This commit is contained in:
leventov
2016-01-17 17:44:23 +03:00
parent 8141ba15e8
commit 7e32081111
@@ -106,6 +106,7 @@ public abstract class SegmentsRecovery implements IterationContext {
if (storedFirstFreeTierIndex != firstFreeTierIndex) {
log.error("wrong first free tier index in global mutable state, stored: {}, " +
"should be: {}", storedFirstFreeTierIndex, firstFreeTierIndex);
globalMutableState.setFirstFreeTierIndex(firstFreeTierIndex);
}
removeDuplicatesInSegments();