Skip to content
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

Feature/global lease manager #20832

Draft
wants to merge 23 commits into
base: devel
Choose a base branch
from
Draft

Conversation

mchacki
Copy link
Member

@mchacki mchacki commented Apr 10, 2024

Scope & Purpose

WIP
This adds a general purpose Lease manager. The idea behind this is that we have a unified "cleanup on remote-server-down" mechanism, that is inspectable from the Outside. First target use-cases here: A query should have a Lease of on all Servers it uses shards of, in turn those servers should hand out a lease to the Coordinator starting the query. This way we are sure that if one server crashes, or somehow destroyed the query, the other participants are informed. This will allow us to erase system internal timeouts on Queries. Same for Transactions.

  • 💩 Bugfix
  • 🍕 New feature
  • 🔥 Performance improvement
  • 🔨 Refactoring/simplification

Checklist

  • Tests
    • Regression tests
    • C++ Unit tests
    • integration tests
    • resilience tests
  • 📖 CHANGELOG entry made
  • 📚 documentation written (release notes, API changes, ...)
  • Backports
    • Backport for 3.12.0: (Please link PR)
    • Backport for 3.11: (Please link PR)
    • Backport for 3.10: (Please link PR)

Related Information

(Please reference tickets / specification / other PRs etc)

  • Docs PR:
  • Enterprise PR:
  • GitHub issue / Jira ticket:
  • Design document:

@mchacki mchacki self-assigned this Apr 10, 2024
@cla-bot cla-bot bot added the cla-signed label Apr 10, 2024
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.

None yet

1 participant