-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…ests deadlock and deleting xrepl tablets Summary: Original commit: aead171 / D35458 Updating retained_by_* maps in DeleteTabletListAndSendRequests before committing the tablet locks. This ensures that if there are multiple calls to DeleteTabletListAndSendRequests (eg due to a few CleanupSplitTablets calls) that xrepl tablets are only hidden on the first call and ignored for later calls. Also fixing the deadlock in DeleteTabletListAndSendRequests that can arise with mutex_ and tablet locks. Jira: DB-11526, DB-11517 Test Plan: ybd --cxx-test xcluster-tablet-split-itest --gtest_filter "CdcTabletSplitThreeMastersITest.TestRaceAfterHidingAndRetainingTablet" Reviewers: xCluster, hsunder, skumar, vkushwaha Reviewed By: hsunder Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D35541
- Loading branch information
Showing
2 changed files
with
172 additions
and
91 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