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

kvserver: no raft snaps should be necessary without log truncations #96198

Open
tbg opened this issue Jan 30, 2023 · 3 comments
Open

kvserver: no raft snaps should be necessary without log truncations #96198

tbg opened this issue Jan 30, 2023 · 3 comments
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. T-kv KV Team
Projects

Comments

@tbg
Copy link
Member

tbg commented Jan 30, 2023

See #87554 for discussion.

It should always be possible to add a voter without relying on the raft snapshot queue, assuming log truncations are disabled.

We're seeing that this isn't true, but only due to inefficiencies in the implementation.

This comment motivates and makes two suggestions:

  • address a TODO in raft to move out of StateSnap more freely
  • also probe followers in StateSnapshot

Together they should achieve the stated goal, which the test in #87554 can help verify.

Jira issue: CRDB-23999

Epic CRDB-39898

@tbg tbg added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. T-kv-replication labels Jan 30, 2023
@blathers-crl
Copy link

blathers-crl bot commented Jan 30, 2023

cc @cockroachdb/replication

@andrewbaptist
Copy link
Collaborator

Is this something that is likely to get into 23.1? It doesn't have any release/ga blocker tags on it? If you do I will wait on my TestDelegateSnapshot test #96841 and unskip it once this is fixed. Otherwise, I can look at alternatives to make that less flakey with the current behavior.
Thanks!

@tbg
Copy link
Member Author

tbg commented Mar 20, 2023

Is this something that is likely to get into 23.1?

Sorry, missed this until just now. No, we're not going to get this into 23.1, apologies.

@exalate-issue-sync exalate-issue-sync bot added T-kv KV Team and removed T-kv-replication labels Jun 28, 2024
@blathers-crl blathers-crl bot added this to Incoming in KV Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. T-kv KV Team
Projects
KV
Incoming
Development

No branches or pull requests

2 participants