statistics, config: rightly deal with innodb_lock_wait_timeout when to load stats#65632
Conversation
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
There was a problem hiding this comment.
Pull request overview
This PR adds a filtering mechanism to prevent loading specific system variables during plan replayer operations. The change excludes innodb_lock_wait_timeout from being loaded when restoring session state from plan replayer data.
Changes:
- Introduced a blacklist map for system variables that should be skipped during plan replayer load
- Added filtering logic in
LoadConfigto check against the blacklist before processing variables
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
093862c to
053a85d
Compare
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
860ee29 to
4005322
Compare
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
[LGTM Timeline notifier]Timeline:
|
|
/unhold |
|
/unhold |
|
/retest |
1 similar comment
|
/retest |
mjonss
left a comment
There was a problem hiding this comment.
Please consider renaming LoadConfig to LoadConfigForPlanReplayer, so it is more clear to not be used in any other context.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mjonss, qw4990, time-and-fate The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/hold |
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
|
/unhold |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
|
/cherrypick release-8.5 |
|
@hawkingrei: new pull request created to branch DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
What problem does this PR solve?
Issue Number: close #65634
Problem Summary:
load large plan replayer (for example, plan replayer testing). You will see this error log.
What changed and how does it work?
Check List
Tests
test it with plan replayer testing.
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.