HDDS-2132. TestKeyValueContainer is failing (#1457).
This commit is contained in:
parent
4f67081038
commit
e54977f888
@ -198,8 +198,9 @@ public final class KeyValueContainerUtil {
|
|||||||
kvContainerData.setKeyCount(liveKeys.size());
|
kvContainerData.setKeyCount(liveKeys.size());
|
||||||
byte[] bcsId = metadata.getStore().get(DFSUtil.string2Bytes(
|
byte[] bcsId = metadata.getStore().get(DFSUtil.string2Bytes(
|
||||||
OzoneConsts.BLOCK_COMMIT_SEQUENCE_ID_PREFIX));
|
OzoneConsts.BLOCK_COMMIT_SEQUENCE_ID_PREFIX));
|
||||||
Preconditions.checkNotNull(bcsId);
|
if (bcsId != null) {
|
||||||
kvContainerData.updateBlockCommitSequenceId(Longs.fromByteArray(bcsId));
|
kvContainerData.updateBlockCommitSequenceId(Longs.fromByteArray(bcsId));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user