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-cluster: After restart master of cluster,it just can get a full Asynchronous Replication #6030

Closed
braveHeart1996 opened this issue Apr 18, 2019 · 1 comment · Fixed by #8015

Comments

@braveHeart1996
Copy link

braveHeart1996 commented Apr 18, 2019

Server.c

/* Restore the replication ID / offset from the RDB file. */
            if ((server.masterhost || (server.cluster_enabled && nodeIsSlave(server.cluster->myself)))&&
                rsi.repl_id_is_set &&
                rsi.repl_offset != -1 &&

I think so.

/* Restore the replication ID / offset from the RDB file. */
            if ((server.masterhost || (server.cluster_enabled))&&
                rsi.repl_id_is_set &&
                rsi.repl_offset != -1 &&
@trevor211
Copy link
Collaborator

Is it safe to close this issue? @soloestoy

@oranagra oranagra added the state:to-be-closed requesting the core team to close the issue label Sep 16, 2020
@oranagra oranagra linked a pull request Nov 4, 2020 that will close this issue
@oranagra oranagra removed the state:to-be-closed requesting the core team to close the issue label Jun 27, 2021
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

Successfully merging a pull request may close this issue.

3 participants