-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
114451: opt: fix minor bug in optsteps[web] and exploretrace r=mgartner a=mgartner This commit fixes a minor bug in the `optsteps`, `optstepsweb`, and `exploretrace` commands that prevented some transformations from being displayed. For example, the bug hid the problematic transformation that was fixed by #114394. See the code comment for more details. Epic: None Release note: None 114477: sql: use role membership cache to check for role existence r=rafiss a=rafiss Previously, the logic to check if a role existed would only cache that result for the duration of the current transaction. This behavior was chosen so that if a different session concurrently dropped that role, we the next time the current session started a transaction, it would check again if the role still existed. This was correct, but came at the cost of system table lookups at least once per-transaction. Now the existence of a role is cached by making use of the role membership cache. The role membership cache similarly needs to be aware of changes made to role memberships that are performed by other sessions. Rather than looking up the memberships in each transaction, it has logic that causes the cache to be invalidated any time role memberships change (i.e., DROP ROLE, GRANT ROLE, or REVOKE ROLE). Now we check for the existence of a role before loading role memberships into the cache. As long as the cache does not get invalidated, we know that the role still exists. No release note since this performance problem only appeared in alpha builds. informs #114472 Release note: None 114496: github-pull-request-make: use longer test timeout, test fewer tests r=jlinder a=rickystewart Try choosing only 4 tests to test instead of 5. Also increase the individual per-test timeout from 75% of duration to 90%. Epic: none Release note: None 114498: ui: fix sql activity app filter on internal queries r=xinhaoz a=xinhaoz This commit fixes a bug when using the app filter on the statements sql activity page. Previously when the internal app name prefix, '$ internal' was selected from the dropdown, internal queries would not show up because we were performing an exact match on the application name and selected applications. This patch fixes this by matching on the prefix of the app name with the internal app name prefix when it is selected. In addition, internal queries are now only shown when the internal app name prefix is selected from the app filter dropdown. This reduces noise from internal queries and also matches the behaviour in the transactions page. Epic: none Fixes: #114461 https://www.loom.com/share/8fd77d2448ea4793a3ab225a46faa85e Co-authored-by: Marcus Gartner <[email protected]> Co-authored-by: Rafi Shamim <[email protected]> Co-authored-by: Ricky Stewart <[email protected]> Co-authored-by: Xin Hao Zhang <[email protected]>
- Loading branch information
Showing
28 changed files
with
631 additions
and
555 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
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
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.