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

Redis roaring master-slave set up can't full sync when init setup #82

Open
nguyenduybinh opened this issue Mar 24, 2021 · 1 comment
Open
Labels

Comments

@nguyenduybinh
Copy link

I have set up master-slave replication with redis-roaring. But at the first full sync, the slave stuck at this state forever:

20825:S 24 Mar 08:34:46.552 # Server initialized
20825:S 24 Mar 08:34:46.553 * Module 'REDIS-ROARING' loaded from /home/binhnd/redis-roaring/dist/libredis-roaring.so
20825:S 24 Mar 08:34:46.553 * Ready to accept connections
20825:S 24 Mar 08:34:46.553 * Connecting to MASTER 10.140.0.4:6379
20825:S 24 Mar 08:34:46.553 * MASTER <-> SLAVE sync started
20825:S 24 Mar 08:34:46.555 * Non blocking connect for SYNC fired the event.
20825:S 24 Mar 08:34:46.555 * Master replied to PING, replication can continue...
20825:S 24 Mar 08:34:46.556 * Partial resynchronization not possible (no cached master)
20825:S 24 Mar 08:34:46.573 * Full resync from master: 325c99bbaf60a8797fa11b962aa9cc43f1af63b1:848769281493
20825:S 24 Mar 08:34:57.370 * MASTER <-> SLAVE sync: receiving 382958284 bytes from master
20825:S 24 Mar 08:34:59.938 * MASTER <-> SLAVE sync: Flushing old data
20825:S 24 Mar 08:34:59.939 * MASTER <-> SLAVE sync: Loading DB in memory

And redis server hang forever.

Have anyone try to set up master-slave with redis-roaring before and have the same issue?

Thanks!

@aviggiano
Copy link
Owner

Hi @nguyenduybinh
Thank you for submitting this issue.

I have not tested redis-roaring with master-slave replication, so I'd have to make a few tests to see why this isn't working.
If you have any updates please add another comment to this thread.

@aviggiano aviggiano added the bug label Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants