liuqiufeng commented on code in PR #6393: URL: https://github.com/apache/incubator-seata/pull/6393#discussion_r1513860649
########## server/src/main/java/org/apache/seata/server/cluster/raft/RaftStateMachine.java: ########## @@ -141,6 +147,7 @@ public RaftStateMachine(String group) { EXECUTES.put(REMOVE_GLOBAL_SESSION, new RemoveGlobalSessionExecute()); EXECUTES.put(UPDATE_BRANCH_SESSION_STATUS, new UpdateBranchSessionExecute()); EXECUTES.put(RELEASE_BRANCH_SESSION_LOCK, new BranchReleaseLockExecute()); + RESYNC_METADATA_POOL.scheduleAtFixedRate(() -> syncCurrentNodeInfo(group), 10, 10, TimeUnit.SECONDS); Review Comment: Also, is it better to have a fixed rate period greater than the rpc timeout? -- 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: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org