You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove resharding version check, don't require 1.16.4-dev or up - #8129
Remove the resharding transfer version check implemented in #7963 that required all peers to be 1.16.4-dev or up.
On reconsideration I believe the check is unnecessary. It has also been causing more problem than it being beneficial.
A few reasons on why I think it isn't useful:
nothing in (resharding) transfers has changed to deem this version check, it's actually hash ring routing that changed instead
cluster manager does not trigger resharding transfers if there is a version mismatch, and so we should never dissatisfy the check in practice
it potentially breaks resharding transfers in the future if a new peer joins which hasn't submitted their version to consensus jet
Removing this check also means #8016 wasn't strictly necessary. Though I do vote to keep that as I'd consider it a better way to check versions anyway since more components rely on consensus distributed versions.
All Submissions:
Contributions should target the dev branch. Did you create your branch from dev?
Have you followed the guidelines in our Contributing document?
Have you checked to ensure there aren't other open Pull Requests for the same update/change?
nothing in (resharding) transfers has changed to deem this version check, it's actually hash ring routing that changed instead
There's another difference. UpdateOnly skips inserts, Upsert doesn't. This can cause data consistency bugs.
cluster manager does not trigger resharding transfers if there is a version mismatch, and so we should never dissatisfy the check in practice
Yeah but it only checks for version being same. Some resharding transfers might happen when version is below v1.16.4-dev and some might happen when it's above it.
There's another difference. UpdateOnly skips inserts, Upsert doesn't. This can cause data consistency bugs.
That is not part of transfers, is it?
Yeah but it only checks for version being same. Some resharding transfers might happen when version is below v1.16.4-dev and some might happen when it's above it.
That is not an issue. Both versions handle internal updates (through the hash ring) in different ways, but that mechanism is local and the net result is the same.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #8123
Remove the resharding transfer version check implemented in #7963 that required all peers to be 1.16.4-dev or up.
On reconsideration I believe the check is unnecessary. It has also been causing more problem than it being beneficial.
A few reasons on why I think it isn't useful:
Removing this check also means #8016 wasn't strictly necessary. Though I do vote to keep that as I'd consider it a better way to check versions anyway since more components rely on consensus distributed versions.
All Submissions:
devbranch. Did you create your branch fromdev?