todo: 调试
This commit is contained in:
@@ -29,6 +29,12 @@ public class MasterProcessor implements MasterExecute {
|
||||
|
||||
@Override
|
||||
public void loop(MasterContext cxt) {
|
||||
try {
|
||||
Thread.sleep(3000);
|
||||
} catch (InterruptedException e1) {
|
||||
e1.printStackTrace();
|
||||
return;
|
||||
}
|
||||
|
||||
var alivePeers = List.copyOf(StateFactory.getRaftNode().listAlivePeers());
|
||||
log.debug("master({}) execute {}", StateFactory.getServerId(),
|
||||
|
||||
Reference in New Issue
Block a user