GBase 8a
运维管理
文章

GCWARE报错问题解决

发表于2024-12-30 17:25:5854次浏览2个评论

问题1:
Mar 05 21:05:38.143877 ERROR [GCWARE] entry from /opt/gcware/data/gcware/REDOLOG.1046025 after 4030224 is corrupt

解决方式1:
truncate -s 4030224 REDOLOG.1046025 此操作一定要在gcware的data目录下执行


问题1:
[root@node135 log]# tail -f  gcware.log 
Nov 11 15:21:29.877373 INFO  [GCWARE] finish save raft meta with term: 193893, voteFor:2265123338
Nov 11 15:21:29.879008 INFO  [GCWARE] dealVoteRpcRes node 2265123338 grant me with term 193893
Nov 11 15:21:29.879635 INFO  [GCWARE] node 2265123338 switch to leader with term:193893
Nov 11 15:21:29.880259 NOTIC [GCWARE] broadcast node state 2265123338 1
Nov 11 15:21:29.880468 INFO  [GCWARE] statemachine sync with leader change from 0 to 1
Nov 11 15:21:29.887293 INFO  [GCWARE] node 2265123338 state plan change to 1
Nov 11 15:21:29.887755 INFO  [GCWARE] node 2265123338 state change to 1
Nov 11 15:21:30.017724 INFO  [GCWARE] CCS create session 193099,1,150,48939,20 
Nov 11 15:21:30.018433 INFO  [GCWARE] register session with sessionid 48939
Nov 11 15:21:30.024274 INFO  [GCWARE] session 48939 set session timeout to 110
Nov 11 15:21:30.456911 INFO  [GCWARE] vote req from 335743498, term:193893, candidate:335743498, term:254,index:20506,mine term:193893 index:48940, previous vote:2265123338, current vote :2265123338 grant:0
Nov 11 15:21:34.121715 INFO  [GCWARE] node 2265123338 switch to follower with term:193894 leader:0
Nov 11 15:21:34.122465 INFO  [GCWARE] statemachine sync with leader change from 1 to 0
Nov 11 15:21:34.122675 INFO  [GCWARE] vote req from 335743498, term:193894, candidate:335743498, term:254,index:20506,mine term:193893 index:48941, previous vote:0, current vote :0 grant:0
Nov 11 15:21:34.122881 ERROR [GCWARE] UDP send error to 0.0.0.0 5918 with error Connection refused   ####udp的错 
Nov 11 15:21:34.129502 INFO  [GCWARE] finish save raft meta with term: 193894, voteFor:0


[root@node135 ~]# tcpdump -i p6p2 port 5918
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on p6p2, link-type EN10MB (Ethernet), capture size 65535 bytes
15:20:35.734817 IP 10.10.3.20.43701 > node135.5918: UDP, length 40
15:20:38.135805 IP 10.10.3.20.43701 > node135.5918: UDP, length 40
15:20:40.788792 IP 10.10.3.20.43701 > node135.5918: UDP, length 40

解决方式2:
说明有此节点被两套集群占用 冲突了
 

评论

登录后才可以发表评论
GBase用户51885发表于 2个月前
来了
GBase用户51885发表于 2个月前
闪闪发光