HDFS-16264.When adding block keys, the records come from the specific Block Pool. (#3533)

This commit is contained in:
jianghuazhu 2021-10-11 19:49:58 +08:00 committed by GitHub
parent 65d9523aa2
commit d7c01d083c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,7 @@ public synchronized void addKeys(ExportedBlockKeys exportedKeys)
if (isMaster || exportedKeys == null) {
return;
}
LOG.info("Setting block keys");
LOG.info("Setting block keys. BlockPool = {} .", blockPoolId);
removeExpiredKeys();
this.currentKey = exportedKeys.getCurrentKey();
BlockKey[] receivedKeys = exportedKeys.getAllKeys();