-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
45124: storage/concurrency: changes to lock table to handle requests that r=nvanbenschoten a=sumeerbhola have the same key as ReadWrite and ReadOnly - This new functionality is covered by the dup_access test and the randomized test. - The existing basic test lost some coverage of inactive waiters so there is now a separate non_active_waiter test. - The comment on future extensions to shared and upgrade locks now includes a discussion on non-transactional requests, and how active and inactive wait states will work. - There was a bug in the code that handles a discovered lock, when the lock was discovered by a reader, which was triggered by changes to the basic test. The lockTableGuardImpl.mu.locks was being incorrectly updated to add the *lockState. Release note: None Co-authored-by: sumeerbhola <[email protected]>
- Loading branch information
Showing
5 changed files
with
861 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.