todo: 调试

This commit is contained in:
huangsimin
2022-08-01 00:27:00 +08:00
parent d1429e8114
commit 52a6169323
4 changed files with 64 additions and 21 deletions

View File

@@ -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(),