Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

bug fix: rmt can not exit when sync redis data to rdb files #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AlexStocks
Copy link

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.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant