Skip to content

Remove resharding version check, don't require 1.16.4-dev or up - #8129

Merged
generall merged 1 commit into
devfrom
relax-reshard-version-check
Feb 13, 2026
Merged

generall merged 1 commit into
devfrom
relax-reshard-version-check

Conversation

@timvisee

@timvisee timvisee commented Feb 13, 2026 •

Copy link
Copy Markdown
Member

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:

  • 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?

@generall
generall merged commit b4a067e into dev Feb 13, 2026
20 of 21 checks passed
@generall
generall deleted the relax-reshard-version-check branch February 13, 2026 23:02
@KShivendu

KShivendu commented Feb 16, 2026 •

Copy link
Copy Markdown
Member

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.

@timvisee

timvisee commented Feb 16, 2026 •

Copy link
Copy Markdown
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants