forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
91955: cluster-ui: transaction insights bug fixes r=xinhaoz a=xinhaoz Fixes cockroachdb#91914 Fixes cockroachdb#91915 Fixes cockroachdb#91927 This commit fixes txn insights bugs and adds unit tests for utils used by the insights pages. Fixes for txn insights: - De-duplicate txn contention insights labels in overview page for high contention - Remove query column for statement details and single stmt transactions - Include statement query for a txn insight recommendation if there are multiple stmts in the txn being reported Release note (ui change): Query column in insight recs table removed. Instead, stmt is included in the description if the txn being reported has multiple stmts. This txn has multiple stmts: <img width="1678" alt="image" src="https://user-images.githubusercontent.com/20136951/202526318-601587ea-8b2c-4708-b058-b24cad66c71d.png"> Ths txn has 1 stmt: <img width="1736" alt="image" src="https://user-images.githubusercontent.com/20136951/202040846-f02faecf-0c68-4b2c-bca3-ac813ac94a3a.png"> No change to stmts (but query col is removed everywhere): <img width="1734" alt="image" src="https://user-images.githubusercontent.com/20136951/202040904-d21c1ed3-ed91-4cf7-b77e-bc74736f7d44.png"> Co-authored-by: Xin Hao Zhang <[email protected]>
- Loading branch information
Showing
8 changed files
with
797 additions
and
76 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
Oops, something went wrong.