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

rmt can not exit when sync redis data to rdb files #26

Closed
AlexStocks opened this issue Aug 24, 2017 · 1 comment
Closed

rmt can not exit when sync redis data to rdb files #26

AlexStocks opened this issue Aug 24, 2017 · 1 comment

Comments

@AlexStocks
Copy link

AlexStocks commented Aug 24, 2017

firstly, show my rmt.conf as follows:

[source]
type: single
servers:
-10.10.10.9:6379
-10.10.10.10:6380

[target]
type: rdb file

[common]
listen: 10.33.80.221:8888
step: 1
mbuf_size: 4096
source_safe: true
dir: data

When rmt completes its job, the rmt process suspended and did not halt. By rmt.log, I noticed that both the read thread read_thread_run and the write thread write_thread_run did not terminate when the rob files have been saved.

To use rmt, I clone a fork and try to modify it to let it run by my rmt.conf. But it can not run If the value of source_safe is false.

Hope u check my code and fix this bug. Thanks.

@AlexStocks AlexStocks changed the title 进行rdb文件冷备的时rmt执行完任务不退出 rmt can not exit when sync redis data to rdb files Aug 24, 2017
@AlexStocks
Copy link
Author

The same as pr #27.

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