-
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.
[#19143] Docdb/ActiveHistory: Instrument inbound calls for reads and …
…write rpcs. Summary: Each inbound_call wait maintain WaitStateInfo which gets updated at various points during the execution, when we expect that the rpc may end up waiting/stalling for a long time. Specifically, in this diff, we annotate waits upon waiting for a lock/condition or when doing I/O. Sysbench read/write test runs show no performance impact. With and without enabling ash #19143 (comment) **Upgrade/Rollback safety:** Should be ok to rollback. The functionality to see the local calls will be unavailable if rolled back. Should not have any other effect on other features. Test Plan: ybd --cxx-test 'TEST_F(PgMiniAsh, Ash) {' Reviewers: arybochkin, esheng Reviewed By: arybochkin, esheng Subscribers: yql, rthallam, ybase, bogdan Differential Revision: https://phorge.dev.yugabyte.com/D30484
- Loading branch information
1 parent
dc3b1a6
commit ce31f43
Showing
53 changed files
with
480 additions
and
47 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,6 +84,7 @@ set(CLIENT_LIBS | |
test_echo_service_proto | ||
tserver_util | ||
yb_ql_expr | ||
yb_ash | ||
yb_util | ||
gutil | ||
yrpc | ||
|
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
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.