-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
storage: learners defaulted on #38902
Labels
A-kv-distribution
Relating to rebalancing and leasing.
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Comments
danhhz
added
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
A-kv-distribution
Relating to rebalancing and leasing.
labels
Jul 16, 2019
danhhz
added a commit
to danhhz/cockroach
that referenced
this issue
Jul 23, 2019
Closes cockroachdb#37916 Closes cockroachdb#38902 Release note: None
danhhz
added a commit
to danhhz/cockroach
that referenced
this issue
Jul 29, 2019
For simplicity of implementation and concept, learners are disallowed by AdminMerge. The merge queue now removes them before calling it. AdminRelocateRange similarly removes them before doing its work (even if the learner is one of the supplied targets). This is not strictly necessary for its use in the merge queue, since the merge queue does its own removal, but decoupling this is appealing. Additionally, AdminRelocateRange has other callers than the merge queue. Touches cockroachdb#38902 Release note: None
This was referenced Jul 29, 2019
craig bot
pushed a commit
that referenced
this issue
Jul 30, 2019
39151: storage: handle learner replicas in merge code r=tbg a=danhhz For simplicity of implementation and concept, learners are disallowed by AdminMerge. The merge queue now removes them before calling it. AdminRelocateRange similarly removes them before doing its work (even if the learner is one of the supplied targets). This is not strictly necessary for its use in the merge queue, since the merge queue does its own removal, but decoupling this is appealing. Additionally, AdminRelocateRange has other callers than the merge queue. Touches #38902 Release note: None 39170: opt: stop storing references to WITH expressions r=justinj a=justinj It's sketchy to include references to RelExprs that are "outside the system," and we only needed them any more to compute stats, so we'll just call them unknown for the time being. Release note: None Co-authored-by: Daniel Harrison <[email protected]> Co-authored-by: Justin Jaffray <[email protected]>
danhhz
added a commit
to danhhz/cockroach
that referenced
this issue
Aug 2, 2019
Closes cockroachdb#38902 Release note: None
danhhz
added a commit
to danhhz/cockroach
that referenced
this issue
Aug 7, 2019
Closes cockroachdb#38902 Release note: None
danhhz
added a commit
to danhhz/cockroach
that referenced
this issue
Aug 8, 2019
Closes cockroachdb#38902 Release note: None
danhhz
added a commit
to danhhz/cockroach
that referenced
this issue
Aug 8, 2019
This was previously available by flipping a cluster setting that defaulted to off, this defaults it to on. With any luck, we'll be confident enough in this to remove the cluster setting in 19.2, which will allow us to rip out a bunch of code at the beginning of the 20.1 cycle. Closes cockroachdb#38902 Release note (general change): Replicas are now added using a raft learner and going through the normal raft snapshot process to catch them up, eliminating technical debt. No user facing changes are expected.
danhhz
added a commit
to danhhz/cockroach
that referenced
this issue
Aug 9, 2019
This was previously available by flipping a cluster setting that defaulted to off, this defaults it to on. With any luck, we'll be confident enough in this to remove the cluster setting in 19.2, which will allow us to rip out a bunch of code at the beginning of the 20.1 cycle. Closes cockroachdb#38902 Release note (general change): Replicas are now added using a raft learner and going through the normal raft snapshot process to catch them up, eliminating technical debt. No user facing changes are expected.
craig bot
pushed a commit
that referenced
this issue
Aug 13, 2019
39034: storage: use learner replicas for replica addition by default r=tbg a=danhhz This was previously available by flipping a cluster setting that defaulted to off, this defaults it to on. With any luck, we'll be confident enough in this to remove the cluster setting in 19.2, which will allow us to rip out a bunch of code at the beginning of the 20.1 cycle. Closes #38902 Release note (general change): Replicas are now added using a raft learner and going through the normal raft snapshot process to catch them up, eliminating technical debt. No user facing changes are expected. 39469: opt: fix panic due to incorrect type of ArrayFlatten r=rytaft a=rytaft This commit fixes a panic caused by incorrect typing of an `ArrayFlatten` expression. If the input to an `ArrayFlatten` expression is sorted, there may be more than one output column (although the columns used for sorting are hidden). If one of these hidden columns is chosen to infer the type of the expression, the type could be incorrect. This commit fixes the problem so that only the requested column is chosen for type inference. Fixes #38867 Release note (bug fix): Fixed a panic due to incorrect type inference of some ARRAY(...) expressions. Co-authored-by: Daniel Harrison <[email protected]> Co-authored-by: Rebecca Taft <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-kv-distribution
Relating to rebalancing and leasing.
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
#38149 will merge learners, defaulted off. Afterward, there will be some followups before turning it on, including more production testing and updating some unit tests.
(RawNode).WithProgress
(RangeDescriptor).GetReplicaDescriptor
(RangeDescriptor).GetReplicaDescriptorByID
(Store).mu.replicas
newStoreReplicaVisitor
(Store).VisitReplicas
Test learners + quota poolThe text was updated successfully, but these errors were encountered: