MDEV-40296: SELECT @@GLOBAL.replicate_do_db ignores default_master_connection #5826
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.32) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 117 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.285
Real PR Conversation Timeline
1 comments
"Review active on #5826"
general
weight: 0.35
gkodinov
When querying replication filter system variables without specifying a connection name qualifier (e.g.,
SELECT @@GLOBAL.replicate_do_db),Sys_var_rpl_filter::global_value_ptr()previously passed the unspecifiedbase_namedirectly toget_master_info(), which resolved to the unnamed master connection (empty_clex_str) rather than respecting@@SESSION.default_master_connection.Changes:
Sys_var_rpl_filter::global_value_ptr(), fall back tothd->variables.default_master_connectionwhenbase_name->strisNULL(unspecified connection).main.mdev-40296) covering:-
SELECT @@GLOBAL.name.replicate_do_db(explicit named connection)-
SELECT @@GLOBAL.replicate_do_db(unspecified connection falling back to default)-
SELECT @@GLOBAL..replicate_do_db(explicit unnamed connection with empty backticks)