helloworld0xff
helloworld0xff
数据同步失败
将某个节点的数据全部删除后,无法同步最新数据,报错如下 I20240730 19:40:50.470150 54291 snapshot.cpp:519] Deleting /mnt/fast_pool/evdb/44/snapshot/temp I20240730 19:40:50.595078 54291 node.cpp:2661] node 44:10.210.146.22:31650:0:0 received InstallSnapshotRequest last_included_log_index=64943885 last_include_log_term=517 from 10.210.146.19:31650:0:0 when last_log_id=(index=0,term=0) I20240730 19:40:54.846653 54300 node.cpp:1616] node 44:10.210.146.22:31650:0:0 term 517 start...
堆栈如下,环境运行正常,网络良好,感觉是个老问题,和bug#1188有点相似,bug#1188这种问题,做网络延时就会频繁发生 gdb看,是id错误,得到block grop的为NULL,流程上是否在task thread中释放该资源时的id不对???释放资源时的id没有校验 #0 0x00007fb1e176d6fa in bthread::TimerThread::Bucket::schedule(void (*)(void*), void*, timespec const&) (__m=std::memory_order_consume, this=0x14008) at /usr/include/c++/4.8.2/bits/atomic_base.h:805 #1 0x00007fb1e176d6fa in bthread::TimerThread::Bucket::schedule(void (*)(void*), void*, timespec const&) (__m=std::memory_order_consume, this=0x14008) at /usr/include/c++/4.8.2/atomic:386 #2 0x00007fb1e176d6fa...