sadanand48 commented on code in PR #5399:
URL: https://github.com/apache/ozone/pull/5399#discussion_r1361834655
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java:
##########
@@ -1452,14 +1454,14 @@ private void listStatusFindKeyInTableCache(
}
OmKeyInfo cacheOmKeyInfo = entry.getValue().getCacheValue();
// cacheOmKeyInfo is null if an entry is deleted in cache
- if (cacheOmKeyInfo != null
- && cacheKey.startsWith(startCacheKey)
- && cacheKey.compareTo(startCacheKey) >= 0) {
+ if (cacheOmKeyInfo != null && cacheKey.startsWith(
Review Comment:
Also the new test changes in this PR will fail without code changes
--
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]