dajiaohuang opened a new pull request, #1663: URL: https://github.com/apache/ratis/pull/1663
## What changes were proposed in this pull request? Give the default `BaseStateMachine.pause()` and `reinitialize()` implementations the lifecycle transitions required by streamed snapshot installation: `RUNNING -> PAUSING -> PAUSED` and `PAUSED -> STARTING -> RUNNING`. Add a focused lifecycle regression test. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/RATIS-2656 ## How was this patch tested? Ran the task-local Maven Wrapper test command `-pl ratis-server -am -Dtest=TestBaseStateMachine -Dsurefire.failIfNoSpecifiedTests=false test` with an isolated Maven repository. Result: reactor BUILD SUCCESS; 1 test, 0 failures, 0 errors, 0 skipped. No full suite or CI result is claimed. -- 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]
