bharatviswa504 commented on a change in pull request #102: HDDS-2380. OMFileRequest should use the isExist API while checking fo… URL: https://github.com/apache/hadoop-ozone/pull/102#discussion_r340349494
########## File path: hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/ContainerDBServiceProviderImpl.java ########## @@ -185,7 +185,7 @@ public long getKeyCountForContainer(Long containerID) throws IOException { */ @Override public boolean doesContainerExists(Long containerID) throws IOException { - return containerKeyCountTable.get(containerID) != null; + return containerKeyCountTable.isExist(containerID); Review comment: Can we move this change to a new Jira, as this does not belong to this Jira issue? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org