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

raft persist error #226

Open
beijian01 opened this issue Jul 19, 2024 · 1 comment
Open

raft persist error #226

beijian01 opened this issue Jul 19, 2024 · 1 comment

Comments

@beijian01
Copy link

beijian01 commented Jul 19, 2024

win10系统,使用node1.conf开启node1 ,再使用node2.conf开启node2 。程序会创建大量临时conf文件,并且都rename失败。部分日志如下:
2024/07/19 13:18:20 [ERROR][raft_event.go:55] persist raft error: rename .\tmp-cluster-conf-738025128.conf 7379.conf: The process cannot access the file because it is being used by another process.
2024/07/19 13:18:21 [ERROR][raft_event.go:55] persist raft error: rename .\tmp-cluster-conf-1606189836.conf 7379.conf: The process cannot access the file because it is being used by another process.

另外,我在linux(centos 7 )系统做上述操作,没有报error,可以成功启动两节点的集群,使用redis-cli 可以正常执行 GET 、SET等命令。

@HDT3213
Copy link
Owner

HDT3213 commented Jul 19, 2024 via email

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

2 participants