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

fix: do not flush replicaof if failed to connect #4636

Merged
merged 2 commits into from
Feb 21, 2025
Merged

fix: do not flush replicaof if failed to connect #4636

merged 2 commits into from
Feb 21, 2025

Conversation

kostasrim
Copy link
Contributor

@kostasrim kostasrim commented Feb 20, 2025

We unconditionally flushed the replica even if replicaof failed to connect. We now flush only if replicaof succeeded to connect and therefore replication can properly start.

resolves #4501

@kostasrim kostasrim self-assigned this Feb 20, 2025
@kostasrim kostasrim changed the title fix: do not flush replicaof failed to connect fix: do not flush replicaof if failed to connect Feb 20, 2025
@kostasrim kostasrim merged commit 493059f into main Feb 21, 2025
10 checks passed
@kostasrim kostasrim deleted the kpr2 branch February 21, 2025 10:58
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 this pull request may close these issues.

replicaof <myself> flushes the dataset
2 participants