Skip to content

Deflake MRMWMutexTest.VerifyMayProlong test#928

Closed
Aksha1812 wants to merge 3 commits intovalkey-io:mainfrom
Aksha1812:fulltext-dev-aksha27
Closed

Deflake MRMWMutexTest.VerifyMayProlong test#928
Aksha1812 wants to merge 3 commits intovalkey-io:mainfrom
Aksha1812:fulltext-dev-aksha27

Conversation

@Aksha1812
Copy link
Copy Markdown
Collaborator

The prolonged reader was releasing its lock before all read tasks finished and only waiting until the duration of the sleep, letting the writer sneak in and set run_write=true.

Fixed by waiting for read_tasks_completed_notification inside the lock scope, so the reader holds the lock until all reads are done.

Signed-off-by: Aksha Thakkar <thaakb@amazon.com>
@Aksha1812 Aksha1812 force-pushed the fulltext-dev-aksha27 branch from 11d8785 to 5366972 Compare March 25, 2026 23:23
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.

1 participant