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

Remove success field from Replication response #329

Merged
merged 6 commits into from
Feb 29, 2024

Conversation

akiradeveloper
Copy link
Owner

This PR removes success field from replication response.

The field is true when some entry was rejected due to consistency failure. But, n_inserted is 0 is enough to inform of it.

Precisely, n_inserted is 0 doesn't allow us to discern if the replication was completely failed because it was rejected or the replication entries was broken. But, I think both case is very critical to have a reason to rewind the replication. Simple is best.

@akiradeveloper akiradeveloper merged commit ea8c0e0 into master Feb 29, 2024
1 check passed
@akiradeveloper akiradeveloper deleted the improve-replication-api branch February 29, 2024 00:40
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.

1 participant