KVStore: neglect TransferLeader for nextgen compatibility#10737
KVStore: neglect TransferLeader for nextgen compatibility#10737ti-chi-bot[bot] merged 6 commits intopingcap:masterfrom
Conversation
|
❌ Failed to Create Project We encountered an error while creating your project. Please try again or contact support if the issue persists. |
📝 WalkthroughWalkthroughRoutes the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@dbms/src/Storages/KVStore/MultiRaft/RaftCommandsKVS.cpp`:
- Around line 186-189: Fix the typos in the comment above the switch cases for
raft_cmdpb::AdminCmdType::TransferLeader and
raft_cmdpb::AdminCmdType::UpdateGcPeer: change "Initialy" to "Initially" and
"rewrited" to "rewritten" so the comment reads correctly while leaving the
surrounding logic and case labels untouched.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 1b740495-4d2d-4ad1-803a-1a420fc4b188
📒 Files selected for processing (1)
dbms/src/Storages/KVStore/MultiRaft/RaftCommandsKVS.cpp
Co-authored-by: JaySon <tshent@qq.com>
|
Wait for the proxy logging downgrade pr to be merged. In order to reduce the efforts to do when cherry-pick |
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JaySon-Huang, JinheLin 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 |
[LGTM Timeline notifier]Timeline:
|
|
/cherry-pick release-nextgen-20251011 |
|
@JaySon-Huang: failed to apply #10737 on top of branch "release-nextgen-20251011": 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. |
What problem does this PR solve?
Issue Number: close #10734
Problem Summary:
neglect TransferLeader for next-gen compatibility. Also downgrade logging level about transfer leader from error to info
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note
Summary by CodeRabbit
Bug Fixes
Tests