-
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.
Avoid using spinlocks in the ts_tablet_manager.
Summary: Seen some perf dumps at a customer, where we are busy waiting in the spinlocks at ts_tablet_manager.cc. Replacing rw_spinlock with RWMutex to fix the same. Also porting some other potential perf improvements from KUDU-2193. (See apache/kudu@f2c21b4 and apache/kudu@94bf699) Log before the lock Test Plan: Jenkins Reviewers: venkatesh, mikhail, kannan Reviewed By: kannan Subscribers: ybase Differential Revision: https://phabricator.dev.yugabyte.com/D4688
- Loading branch information
1 parent
ec4ae20
commit a5bbca4
Showing
2 changed files
with
79 additions
and
50 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