swamirishi commented on code in PR #7179:
URL: https://github.com/apache/ozone/pull/7179#discussion_r1754836841


##########
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:
   We are always supposed to get the value from the disk, and never from the 
cache. There should be no cache present for transactionInfo table. I have added 
a fail safe check, to skip cache even if it exists.



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