Repository navigation
tests: isolate next gen upstream TiKV wal-sync dirs (#4685) - #5776
Conversation
Fixes flaky next-gen integration startup where upstream TiKV instances shared one rfengine wal-sync-dir path. Generate per-instance upstream TiKV configs with isolated wal-sync-dir and add a regression test. Ref pingcap#4684 Signed-off-by: tenfyzhong <tenfy@tenfy.cn>
Signed-off-by: tenfyzhong <tenfy@tenfy.cn>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/test next-gen |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wk989898 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 |
4e01285
into
pingcap:release-nextgen-202603
This is an automated cherry-pick of #4685
What problem does this PR solve?
Issue Number: close #4684
In next-gen integration startup, all upstream TiKV instances shared the same
rfengine.wal-sync-dir. This can cause unstable startup behavior and lead to flaky failures when bootstrapping upstream system TiDB.What is changed and how it works?
[rfengine]with a sharedwal-sync-dirfrom commonupstream-tikv.toml.upstream-tikv1.toml,upstream-tikv2.toml,upstream-tikv3.toml).[rfengine]settings and set isolatedwal-sync-dirfor each TiKV.Check List
Tests
Test commands:
go test ./tests/integration_tests/_utils -run TestNextGenUpstreamTiKVWalSyncDirIsPerInstance -count=1go test ./tests/integration_tests/_utils -count=1bash -n tests/integration_tests/_utils/start_tidb_cluster_nextgenQuestions
Will it cause performance regression or break compatibility?
No.
Do you need to update user documentation, design documentation or monitoring documentation?
No.
Release note