szetszwo commented on code in PR #9202:
URL: https://github.com/apache/ozone/pull/9202#discussion_r2470047735
##########
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:
@sumitagrawl , This bug was discovered when trying to disable metadata. I
agree that it is better to update the description but people usually do not do
that.
--
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]