belliottsmith commented on code in PR #4460:
URL: https://github.com/apache/cassandra/pull/4460#discussion_r2486294302


##########
src/java/org/apache/cassandra/service/accord/AccordService.java:
##########
@@ -288,8 +287,16 @@ public synchronized static AccordService startup(NodeId 
tcmId)
 
         AccordService as = new 
AccordService(AccordTopology.tcmIdToAccord(tcmId));
         unsafeInstance = as;
-        as.startup();
-        replayJournal(as);
+        as.node.unsafeSetReplaying(true);
+        try
+        {
+            as.startup();

Review Comment:
   We replay topology inside of here, and we use this flag during topology 
replay.



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