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

only acquire hot backup commit lock upon commit #20424

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

jsteemann
Copy link
Contributor

Scope & Purpose

Only acquire hot backup commit lock on coordinators upon transaction/query commit, and not transaction/query abort.
Currently we acquire the commit lock even for transactions that are about to abort. This does not seem necessary.

  • 💩 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.11: -
    • Backport for 3.10: -

Related Information

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

if a transaction is about to be aborted, there is no need to acquire the
commit lock.
@jsteemann jsteemann added this to the devel milestone Jan 5, 2024
@jsteemann jsteemann requested review from a team as code owners January 5, 2024 13:53
@cla-bot cla-bot bot added the cla-signed label Jan 5, 2024
Copy link
Member

@neunhoef neunhoef left a comment

Choose a reason for hiding this comment

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

LGTM

@neunhoef neunhoef merged commit dae5b4f into devel Jan 8, 2024
1 of 2 checks passed
@neunhoef neunhoef deleted the refactor/only-acquire-commit-lock-when-we-commit branch January 8, 2024 11:55
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.

2 participants