8000 Delay MoveShard job until old and new leader ready - BTS-1110 by neunhoef · Pull Request #17569 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Delay MoveShard job until old and new leader ready - BTS-1110 #17569

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

10000
Merged
merged 4 commits into from
Nov 25, 2022

Conversation

neunhoef
Copy link
Member

This addresses https://arangodb.atlassian.net/browse/BTS-1110 .
The problem is that if a MoveShard which switches leadership begins to
work, although the supposed leader has not yet assumed its leadership,
then we get stuck. The old leader does no longer assume leadership and
as a consequence cannot resign and the MoveShard job is stuck.

  • Delay start of MoveShard if supposed leader not in Current.
  • Delay start of MoveShard if new leader not in sync.
  • CHANGELOG.

This is the backport for 3.8.

Scope & Purpose

(Please describe the changes in this PR for reviewers, motivation, rationale - mandatory)

  • [*] 💩 Bugfix

Checklist

  • Tests
    • C++ Unit tests
  • [*] 📖 CHANGELOG entry made
  • [*] Backports: This is the backport for 3.8.

Related Information

(Please reference tickets / specification / other PRs etc)

@neunhoef neunhoef added this to the 3.8 milestone Nov 11, 2022
@neunhoef neunhoef self-assigned this Nov 11, 2022
@cla-bot cla-bot bot added the cla-signed label Nov 11, 2022
@neunhoef neunhoef requested review from maierlars and kvahed November 11, 2022 10:41
Copy link
Contributor
@kvahed kvahed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@KVS85 KVS85 merged commit 24ba39d into 3.8 Nov 25, 2022
@KVS85 KVS85 deleted the bug-fix-3.8/delay-move-shard branch November 25, 2022 16:32
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
0