sumitagrawl commented on code in PR #9202:
URL: https://github.com/apache/ozone/pull/9202#discussion_r2468005623


##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/ha/SCMStateMachine.java:
##########
@@ -167,9 +167,7 @@ public CompletableFuture<Message> applyTransaction(
       if (scm.isInSafeMode() && refreshedAfterLeaderReady.get()) {
         scm.getScmSafeModeManager().refreshAndValidate();
       }
-      final TermIndex appliedTermIndex = TermIndex.valueOf(trx.getLogEntry());
-      
transactionBuffer.updateLatestTrxInfo(TransactionInfo.valueOf(appliedTermIndex));
-      updateLastAppliedTermIndex(appliedTermIndex);

Review Comment:
   @szetszwo 
   ok, will add, this was never mentioned in change description in HDDS-13281 
as fixing additional bug. We should capture this also in bug description to 
avoid confusion` if fixing additional bug with same JIRA`.



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