-
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.
[#21594] Ash: Classify docdb wait-states into CPU/Disk/IO and Locks
Summary: Implement GetWaitStateType(WaitStateCode code) to classify wait states to highlight the main resource that the rpc waits in a given state. Note that since we have only chosen to create a wait state for large enough waits, we may have wait states that use multiple of the resources eg cpu/locks or cpu/disk etc. We mark such states based on the expected resource which the state is use the most. Jira: DB-10483 Test Plan: yb_build.sh --cxx-test wait_states-itest Reviewers: asaha, hbhanawat Reviewed By: asaha Subscribers: ybase Differential Revision: https://phorge.dev.yugabyte.com/D33650
- Loading branch information
1 parent
7ac6dc2
commit 5b05364
Showing
2 changed files
with
110 additions
and
0 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