-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sync to 1.2: skip collecting mo_tables, mo_databases, mo_columns
and cluster tables for non-sys.
#16515
sync to 1.2: skip collecting mo_tables, mo_databases, mo_columns
and cluster tables for non-sys.
#16515
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Review 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue ##16419
What this PR does / why we need it:
skip collecting
mo_tables, mo_databases, mo_columns
and cluster tables for non-sys whenmo_table_size, mo_table_rows and show accounts
.PR Type
Bug fix, Enhancement
Description
specialTableFilterForNonSys
to filter special tables (mo_tables
,mo_databases
,mo_columns
) and cluster tables for non-sys accounts.MoTableRows
andMoTableSize
functions to use the new filtering logic and consistent context variablefoolCtx
.HandleStorageUsage
function.Changes walkthrough 📝
func_mo.go
Filter special tables for non-sys accounts and refactor context
handling
pkg/sql/plan/function/func_mo.go
specialTableFilterForNonSys
function to filter special tablesfor non-sys accounts.
ctx
withfoolCtx
for consistency.handle_debug.go
Disable special table size gathering and not ready new account
handling
pkg/vm/engine/tae/rpc/handle_debug.go
GatherSpecialTableSize
.