HDDS-2132. TestKeyValueContainer is failing (#1457).
This commit is contained in:
parent
4f67081038
commit
e54977f888
|
@ -198,10 +198,11 @@ public final class KeyValueContainerUtil {
|
|||
kvContainerData.setKeyCount(liveKeys.size());
|
||||
byte[] bcsId = metadata.getStore().get(DFSUtil.string2Bytes(
|
||||
OzoneConsts.BLOCK_COMMIT_SEQUENCE_ID_PREFIX));
|
||||
Preconditions.checkNotNull(bcsId);
|
||||
if (bcsId != null) {
|
||||
kvContainerData.updateBlockCommitSequenceId(Longs.fromByteArray(bcsId));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the path where data or chunks live for a given container.
|
||||
|
|
Loading…
Reference in New Issue