You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by GitBox <gi...@apache.org> on 2022/07/01 03:00:18 UTC

[GitHub] [ratis] ChenSammi commented on a diff in pull request #561: RATIS-1465. Use seperate channel for group heartbeat.

ChenSammi commented on code in PR #561:
URL: https://github.com/apache/ratis/pull/561#discussion_r911578067


##########
ratis-common/src/main/java/org/apache/ratis/util/LifeCycle.java:
##########
@@ -100,8 +100,8 @@ static void put(State key, Map<State, List<State>> map, State... values) {
       put(PAUSING,   predecessors, RUNNING);
       put(PAUSED,    predecessors, PAUSING);
       put(EXCEPTION, predecessors, STARTING, PAUSING, RUNNING);
-      put(CLOSING,   predecessors, STARTING, RUNNING, PAUSING, PAUSED, EXCEPTION);
-      put(CLOSED,    predecessors, NEW, CLOSING);
+      put(CLOSING,   predecessors, NEW, STARTING, RUNNING, PAUSING, PAUSED, EXCEPTION);
+      put(CLOSED,    predecessors, CLOSING);

Review Comment:
   The RaftStorageImpl LOCK. 



-- 
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: issues-unsubscribe@ratis.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org