宕机导致无法选主

nebula 版本:vesoft/nebula-storaged:v2-nightly
部署方式(k8s:
是否为线上版本:Y

线上版本重启导致storage无法访问

│ I0426 20:03:32.790024    66 RaftPart.cpp:1247] [Port: 9780, Space: 165, Part: 94] The partition is elected as the leader
│ I0426 20:03:32.790179    66 RaftPart.cpp:1043] [Port: 9780, Space: 165, Part: 87] Start leader election, reason: lastMsgDur 30834, term 55
│ I0426 20:03:32.790212    66 RaftPart.cpp:1192] [Port: 9780, Space: 165, Part: 87] Sending out an election request (space = 165, part = 87, term = 56, lastLogId = 51113, lastLogTerm = 55, candidateIP = nebula-storaged-app
│ I0426 20:03:32.790230    66 RaftPart.cpp:1152] [Port: 9780, Space: 165, Part: 87] Partition is elected as the new leader for term 56
│ I0426 20:03:32.790238    66 RaftPart.cpp:1247] [Port: 9780, Space: 165, Part: 87] The partition is elected as the leader
│ I0426 20:03:32.790304    66 RaftPart.cpp:1043] [Port: 9780, Space: 165, Part: 36] Start leader election, reason: lastMsgDur 32902, term 55
│ I0426 20:03:32.790326    66 RaftPart.cpp:1192] [Port: 9780, Space: 165, Part: 36] Sending out an election request (space = 165, part = 36, term = 56, lastLogId = 33117, lastLogTerm = 55, candidateIP = nebula-storaged-app
│ I0426 20:03:32.790334    66 RaftPart.cpp:1152] [Port: 9780, Space: 165, Part: 36] Partition is elected as the new leader for term 56
│ I0426 20:03:32.790341    66 RaftPart.cpp:1247] [Port: 9780, Space: 165, Part: 36] The partition is elected as the leader
│ I0426 20:03:32.790400    66 RaftPart.cpp:1043] [Port: 9780, Space: 165, Part: 7] Start leader election, reason: lastMsgDur 33448, term 55
│ I0426 20:03:32.790988    66 RaftPart.cpp:1192] [Port: 9780, Space: 165, Part: 7] Sending out an election request (space = 165, part = 7, term = 56, lastLogId = 50541, lastLogTerm = 55, candidateIP = nebula-storaged-app-v
│ I0426 20:03:32.791031    66 RaftPart.cpp:1152] [Port: 9780, Space: 165, Part: 7] Partition is elected as the new leader for term 56
│ I0426 20:03:32.791039    66 RaftPart.cpp:1247] [Port: 9780, Space: 165, Part: 7] The partition is elected as the leader
│ I0426 20:03:32.791127    66 RaftPart.cpp:1043] [Port: 9780, Space: 165, Part: 12] Start leader election, reason: lastMsgDur 33408, term 55
│ I0426 20:03:32.791164    66 RaftPart.cpp:1192] [Port: 9780, Space: 165, Part: 12] Sending out an election request (space = 165, part = 12, term = 56, lastLogId = 33071, lastLogTerm = 55, candidateIP = nebula-storaged-app
│ I0426 20:03:32.791183    66 RaftPart.cpp:1152] [Port: 9780, Space: 165, Part: 12] Partition is elected as the new leader for term 56
│ I0426 20:03:32.791190    66 RaftPart.cpp:1247] [Port: 9780, Space: 165, Part: 12] The partition is elected as the leader
│ I0426 20:03:32.791237    66 RaftPart.cpp:1043] [Port: 9780, Space: 165, Part: 66] Start leader election, reason: lastMsgDur 31816, term 55
│ I0426 20:03:32.791250    66 RaftPart.cpp:1192] [Port: 9780, Space: 165, Part: 66] Sending out an election request (space = 165, part = 66, term = 56, lastLogId = 198553, lastLogTerm = 55, candidateIP = nebula-storaged-ap
│ I0426 20:03:32.791278    66 RaftPart.cpp:1152] [Port: 9780, Space: 165, Part: 66] Partition is elected as the new leader for term 56
│ I0426 20:03:32.791307    66 RaftPart.cpp:1247] [Port: 9780, Space: 165, Part: 66] The partition is elected as the leader
│ I0426 20:03:32.791365    66 RaftPart.cpp:1043] [Port: 9780, Space: 165, Part: 53] Start leader election, reason: lastMsgDur 32194, term 55
│ I0426 20:03:32.791390    66 RaftPart.cpp:1192] [Port: 9780, Space: 165, Part: 53] Sending out an election request (space = 165, part = 53, term = 56, lastLogId = 42959, lastLogTerm = 55, candidateIP = nebula-storaged-app
│ I0426 20:03:32.791448    66 RaftPart.cpp:1152] [Port: 9780, Space: 165, Part: 53] Partition is elected as the new leader for term 56

单机还是分布式?几副本?这报错这个信息之前做了什么操作。

部署的是单副本的 pod因为内存占用太大 oom被重启了

@kevin.qiao 来看看呢

已经解决。没有问题了

感谢大佬协助 已经解决 是space太多导致加载慢

浙ICP备20010487号