kvserver: partial implementation of ReplicasStorage#88606
kvserver: partial implementation of ReplicasStorage#88606sumeerbhola wants to merge 1 commit intocockroachdb:masterfrom
Conversation
e5557c6 to
e2e7c10
Compare
|
cc @cockroachdb/replication |
|
Just chatted with @sumeerbhola - we agreed that the Replication team will push this over the finish line. I'm going to close this PR out, since it's annoying for Sumeer to have the work done on a PR that he opened. The PR can still be checked out ( |
|
I have some changes sitting in my local copy that I need to finish and push -- I'm going to do so soon. Is it ok if we delay closing this until someone is actually ready to pick this up -- that allows me to continue pushing changes meanwhile if something occurs to me? |
The significant missing piece is part of the Init implementation to handle a RecoveryInconsistentReplica that requires applying committed raft log entries to the state machine. This missing piece will need to wait until cockroachdb#75729 is fixed. There are multiple TODOs, including related to concurrency, but the implementation is complete enough for the datadriven test to exercise many state transitions. Additionally, the test exercises loss of unsynced state, and fixup of that state in ReplicasStorage.Init, by using vfs.NewStrictMem. Informs cockroachdb#16624 Release note: None
|
Of course! I will hold off on touching this until you confirm that you're ready. |
|
I've pushed my pending changes. |
|
Interesting failure on the PR here, hope this isn't indicative of some storage bug: |
|
Closing for #91579, which is a copy of this PR that doesn't spam Sumeer's inbox. |
The significant missing piece is part of the Init
implementation to handle a RecoveryInconsistentReplica that requires applying committed raft log entries to the state machine. This missing piece will need to wait until #75729 is fixed.
There are multiple TODOs, including related to concurrency, but the implementation is complete enough for the datadriven test to exercise many state transitions. Additionally, the test exercises loss of unsynced state, and fixup of that state in ReplicasStorage.Init, by using vfs.NewStrictMem.
Informs #16624
Release note: None