HDFS-7395. BlockIdManager#clear() bails out when resetting the GenerationStampV1Limit. Contributed by Haohui Mai.

This commit is contained in:
Haohui Mai 2014-11-13 14:43:03 -08:00
parent 53d6c91df9
commit 7aa6da654d
2 changed files with 4 additions and 1 deletions

View File

@ -169,6 +169,9 @@ Release 2.7.0 - UNRELEASED
HDFS-7358. Clients may get stuck waiting when using ByteArrayManager.
(szetszwo)
HDFS-7395. BlockIdManager#clear() bails out when resetting the
GenerationStampV1Limit. (wheat9)
Release 2.6.0 - 2014-11-18
INCOMPATIBLE CHANGES

View File

@ -203,6 +203,6 @@ public class BlockIdManager {
generationStampV2.setCurrentValue(GenerationStamp.LAST_RESERVED_STAMP);
getBlockIdGenerator().setCurrentValue(SequentialBlockIdGenerator
.LAST_RESERVED_BLOCK_ID);
setGenerationStampV1Limit(GenerationStamp.GRANDFATHER_GENERATION_STAMP);
generationStampV1Limit = GenerationStamp.GRANDFATHER_GENERATION_STAMP;
}
}