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

allow to disable fast lock round for transactions #20856

Merged
merged 5 commits into from Apr 22, 2024

Conversation

jsteemann
Copy link
Contributor

@jsteemann jsteemann commented Apr 19, 2024

Scope & Purpose

Allow to disable fast lock round for transactions via setting it in a streaming transaction's options {"skipFastLockRound":true}. The option defaults to false, so the fast lock round is tried where possible.

The skipFastLockRound option is currently for internal use only and is used by a test that validates request lane priorities.
It could be made public later in case we want to expose it. Then it also needs to be made available in drivers.

As an aside, this PR also makes some ConnectionPoolTest a bit more robust. It started failed last week in my PR, and I don't think the failures are related to the changes in it.

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

Related Information

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

this is currently an internal option that is only used by a test that
validates request lane priorities
@jsteemann jsteemann added this to the devel milestone Apr 19, 2024
@jsteemann jsteemann requested a review from a team as a code owner April 19, 2024 11:08
@cla-bot cla-bot bot added the cla-signed label Apr 19, 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

@maierlars maierlars merged commit bc49985 into devel Apr 22, 2024
1 of 2 checks passed
@maierlars maierlars deleted the feature/disable-fast-lock-round branch April 22, 2024 11:16
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

3 participants