F64116045 opened a new pull request, #10963:
URL: https://github.com/apache/ozone/pull/10963

   ## What changes were proposed in this pull request?
   
   SCM logs when upgrade finalization crosses the `FINALIZATION_STARTED` and
   `MLV_EQUALS_SLV` checkpoints, but it did not log after crossing
   `FINALIZATION_COMPLETE`. This made it difficult for operators to determine
   from the SCM log whether finalization completed successfully.
   
   This change logs the `FINALIZATION_COMPLETE` checkpoint after the finalizing
   marker is removed successfully. It also extends the SCM finalization test to
   verify that the completion message is emitted when finalization advances to
   the completed state, but not when SCM is already finalized.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-11620
   
   ## How was this patch tested?
   
   ```shell
   mvn -pl hadoop-hdds/server-scm -am -Dtest=TestScmFinalization \
     -Dsurefire.failIfNoSpecifiedTests=false -DskipShade -DskipRecon \
     -DskipDocs test
   mvn -pl hadoop-hdds/server-scm -DskipTests -DskipShade -DskipRecon \
     -DskipDocs checkstyle:check
   ```
   


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