Skip to content

concurrency: small bug fix#105562

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
arulajmani:claim-bug-fix
Jun 26, 2023
Merged

concurrency: small bug fix#105562
craig[bot] merged 1 commit intocockroachdb:masterfrom
arulajmani:claim-bug-fix

Conversation

@arulajmani
Copy link
Copy Markdown
Collaborator

Previously, as seen in the testing diff, an inactive waiter/claimant on a lock could continue to remain a distinguished waiter on that lock. This is now fixed.

Epic: none

Release note: None

@arulajmani arulajmani requested a review from nvb June 26, 2023 17:51
@arulajmani arulajmani requested a review from a team as a code owner June 26, 2023 17:51
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@nvb nvb left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @arulajmani)


pkg/kv/kvserver/concurrency/testdata/lock_table/clear_finalized_txn_locks line 1074 at r1 (raw file):

start-waiting: true

# Consequently, req18 should be able to become a reservation holder on lock "a".

s/reservation holder/distinguished waiter/?

Previously, as seen in the testing diff, an inactive waiter/claimant
on a lock could continue to remain a distinguished waiter on that lock.
This is now fixed.

Epic: none

Release note: None
Copy link
Copy Markdown
Collaborator Author

@arulajmani arulajmani left a comment

Choose a reason for hiding this comment

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

TFTR!

bors r=nvanbenschoten

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @nvanbenschoten)


pkg/kv/kvserver/concurrency/testdata/lock_table/clear_finalized_txn_locks line 1074 at r1 (raw file):

Previously, nvanbenschoten (Nathan VanBenschoten) wrote…

s/reservation holder/distinguished waiter/?

Yup, 🤦‍♂️

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 26, 2023

Build succeeded:

@craig craig bot merged commit 19b67e3 into cockroachdb:master Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants