HDFS-16264.When adding block keys, the records come from the specific Block Pool. (#3533)
This commit is contained in:
parent
65d9523aa2
commit
d7c01d083c
@ -226,7 +226,7 @@ public synchronized void addKeys(ExportedBlockKeys exportedKeys)
|
|||||||
if (isMaster || exportedKeys == null) {
|
if (isMaster || exportedKeys == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
LOG.info("Setting block keys");
|
LOG.info("Setting block keys. BlockPool = {} .", blockPoolId);
|
||||||
removeExpiredKeys();
|
removeExpiredKeys();
|
||||||
this.currentKey = exportedKeys.getCurrentKey();
|
this.currentKey = exportedKeys.getCurrentKey();
|
||||||
BlockKey[] receivedKeys = exportedKeys.getAllKeys();
|
BlockKey[] receivedKeys = exportedKeys.getAllKeys();
|
||||||
|
Loading…
Reference in New Issue
Block a user