kerneltime commented on code in PR #4346:
URL: https://github.com/apache/ozone/pull/4346#discussion_r1133505910
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java:
##########
@@ -1914,18 +1918,39 @@ public OmKeyInfo getKeyInfo(OmKeyArgs args, String
clientAddress)
return value;
}
+ private void refreshPipelineFromCache(Iterable<OmKeyInfo> keyInfos)
+ throws IOException {
+ Set<Long> containerIds = new HashSet<>();
+ for (OmKeyInfo keyInfo : keyInfos) {
+ extractContainerIDs(keyInfo).forEach(containerIds::add);
+ }
+
+ // List API never force cache refresh. If clients detect if a block
Review Comment:
```suggestion
// List API never force cache refresh. If a client detects a block
location is outdated
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]