Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snapshot时报错Fail to rename #272

Open
zouyonghao opened this issue Mar 29, 2021 · 0 comments
Open

snapshot时报错Fail to rename #272

zouyonghao opened this issue Mar 29, 2021 · 0 comments

Comments

@zouyonghao
Copy link
Contributor

最近出现一些错误日志

I0329 08:27:42.228378 15086 /home/zyh/braft/src/braft/node.cpp:922] node Atomic:127.0.1.1:8303:0 starts to do snapshot
I0329 08:27:42.228646 15086 /home/zyh/braft/src/braft/snapshot_executor.cpp:154] node Atomic:127.0.1.1:8303:0 the gap between fsm applied index 4 and last_snapshot_index 4 is less than 1, will clear bufferred logs and return success
I0329 08:27:42.230966 15086 /home/zyh/braft/src/braft/log.cpp:1136] log save_meta ./data2/log/log_meta first_log_index: 5 time: 2223
I0329 08:27:42.231179 15086 /home/zyh/braft/src/braft/log.cpp:595] Unlinked segment `./data2/log/log_inprogress_00000000000000000001'
I0329 08:27:42.323486 15127 /home/zyh/braft/src/braft/node.cpp:922] node Atomic:127.0.1.1:8303:0 starts to do snapshot
I0329 08:27:42.323846 15127 /home/zyh/braft/src/braft/snapshot_executor.cpp:154] node Atomic:127.0.1.1:8303:0 the gap between fsm applied index 4 and last_snapshot_index 4 is less than 1, will clear bufferred logs and return success
I0329 08:27:42.326382 15127 /home/zyh/braft/src/braft/log.cpp:1136] log save_meta ./data2/log/log_meta first_log_index: 5 time: 2419
E0329 08:27:42.326501 15127 /home/zyh/braft/src/braft/log.cpp:583] Fail to rename ./data2/log/log_inprogress_00000000000000000001 to ./data2/log/log_inprogress_00000000000000000001.tmp: No such file or directory

不知道是不是跟 #271 有关

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant