vesoft-inc / nebula

A distributed, fast open-source graph database featuring horizontal scalability and high availability
https://nebula-graph.io
Apache License 2.0
10.68k stars 1.2k forks source link

重启nebula服务,storaged 服务启动失败,出现 Found empty wal file #5884

Open lazyermax opened 4 months ago

lazyermax commented 4 months ago

重启nebula服务,storaged 服务启动失败,出现 Found empty wal file INFO image I20240513 17:00:24.298074 3376644 NebulaStore.cpp:252] Load part 207, 5 from disk I20240513 17:00:24.298131 3376423 NebulaStore.cpp:286] Load space 207 complete I20240513 17:00:24.298739 3376423 NebulaStore.cpp:220] Load space 23 from disk I20240513 17:00:24.298760 3376423 NebulaStore.cpp:229] Need to open 8 parts of space 23 W20240513 17:00:24.299676 3376643 FileBasedWal.cpp:120] Found empty wal file "0000000000006212814.wal" W20240513 17:00:24.302695 3376645 FileBasedWal.cpp:120] Found empty wal file "0000000000005990411.wal" I20240513 17:00:24.422772 3376656 EventListener.h:21] Rocksdb start compaction column family: default because of PeriodicCompaction, status: OK, compacted 1 files into 0, base level is 2, output level is 2 I20240513 17:00:24.422828 3376656 CompactionFilter.h:85] Do automatic or periodic compaction! I20240513 17:00:24.711273 3376646 NebulaStore.cpp:252] Load part 23, 4 from disk I20240513 17:00:24.711405 3376646 NebulaStore.cpp:252] Load part 23, 8 from disk I20240513 17:00:24.996063 3376644 NebulaStore.cpp:252] Load part 23, 2 from disk I20240513 17:00:26.330947 3376644 NebulaStore.cpp:252] Load part 23, 6 from disk F20240513 17:00:26.331331 3376465 RaftPart.cpp:1097] [Port: 9780, Space: 23, Part: 8] Failed to commit logs WARNING image Running duration (h:mm:ss): 0:00:00 Log line format: [IWEF]yyyymmdd hh:mm:ss.uuuuuu threadid file:line] msg W20240513 17:00:24.299676 3376643 FileBasedWal.cpp:120] Found empty wal file "0000000000006212814.wal" W20240513 17:00:24.302695 3376645 FileBasedWal.cpp:120] Found empty wal file "0000000000005990411.wal" F20240513 17:00:26.331331 3376465 RaftPart.cpp:1097] [Port: 9780, Space: 23, Part: 8] Failed to commit logs ERROR image Log line format: [IWEF]yyyymmdd hh:mm:ss.uuuuuu threadid file:line] msg W20240513 17:00:24.299676 3376643 FileBasedWal.cpp:120] Found empty wal file "0000000000006212814.wal" W20240513 17:00:24.302695 3376645 FileBasedWal.cpp:120] Found empty wal file "0000000000005990411.wal" F20240513 17:00:26.331331 3376465 RaftPart.cpp:1097] [Port: 9780, Space: 23, Part: 8] Failed to commit logs 这种对于empty的wal文件,如何处理,可以让服务开启