HDFS-7395. BlockIdManager#clear() bails out when resetting the GenerationStampV1Limit. Contributed by Haohui Mai.
This commit is contained in:
parent
3648cb57c9
commit
1a2e5cbc4d
|
@ -424,6 +424,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
HDFS-7358. Clients may get stuck waiting when using ByteArrayManager.
|
HDFS-7358. Clients may get stuck waiting when using ByteArrayManager.
|
||||||
(szetszwo)
|
(szetszwo)
|
||||||
|
|
||||||
|
HDFS-7395. BlockIdManager#clear() bails out when resetting the
|
||||||
|
GenerationStampV1Limit. (wheat9)
|
||||||
|
|
||||||
Release 2.6.0 - 2014-11-18
|
Release 2.6.0 - 2014-11-18
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -203,6 +203,6 @@ public class BlockIdManager {
|
||||||
generationStampV2.setCurrentValue(GenerationStamp.LAST_RESERVED_STAMP);
|
generationStampV2.setCurrentValue(GenerationStamp.LAST_RESERVED_STAMP);
|
||||||
getBlockIdGenerator().setCurrentValue(SequentialBlockIdGenerator
|
getBlockIdGenerator().setCurrentValue(SequentialBlockIdGenerator
|
||||||
.LAST_RESERVED_BLOCK_ID);
|
.LAST_RESERVED_BLOCK_ID);
|
||||||
setGenerationStampV1Limit(GenerationStamp.GRANDFATHER_GENERATION_STAMP);
|
generationStampV1Limit = GenerationStamp.GRANDFATHER_GENERATION_STAMP;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue