hemantk-12 commented on code in PR #7179:
URL: https://github.com/apache/ozone/pull/7179#discussion_r1755212742


##########
hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/TransactionInfo.java:
##########
@@ -162,7 +163,15 @@ public String toString() {
    */
   public static TransactionInfo readTransactionInfo(
       DBStoreHAManager metadataManager) throws IOException {
-    return metadataManager.getTransactionInfoTable().get(TRANSACTION_INFO_KEY);
+    return 
metadataManager.getTransactionInfoTable().getSkipCache(TRANSACTION_INFO_KEY);

Review Comment:
   I think we agreed that there is no need to skip the cache because we don't 
update the cache directly for `TransactionInfoTable`. Once the transaction gets 
flushed, it updates the cache as well.



-- 
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]

Reply via email to