sync-diff-inspector: use the tiflow version package to print versions#12568
sync-diff-inspector: use the tiflow version package to print versions#12568kennytm wants to merge 2 commits intopingcap:masterfrom
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refactors the version information handling within the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request refactors sync-diff-inspector to use the github.com/pingcap/tiflow/pkg/version package for displaying version information, replacing the dependency on github.com/pingcap/tidb/pkg/util. This is a good change for consistency and ensures the correct, build-time populated version variables are used. The changes are correct and I have no suggestions for improvement.
|
/retest |
According to the captured compared with the other 2 dm-master, this instance failed to stop serving peer traffic (https://github.com/etcd-io/etcd/blob/v3.5.15/server/embed/etcd.go#L581-L584) Analysis from codex suggested this is a bug
In etcd v3.5.18 it fixed a bug which |
|
/retest Network broken |
|
/cc @joechenrh |
|
@kennytm: GitHub didn't allow me to request PR reviews from the following users: joechenrh. Note that only pingcap members and repo collaborators can review this PR, and authors cannot review their own PRs. 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 kubernetes-sigs/prow repository. |
[LGTM Timeline notifier]Timeline:
|
|
@joechenrh: adding LGTM is restricted to approvers and reviewers in OWNERS files. 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 kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: joechenrh, lance6716 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 |
What problem does this PR solve?
Issue Number: close #12567
What is changed and how it works?
Change sync-diff-inspector to use functions in
github.com/pingcap/tiflow/pkg/versioninstead ofgithub.com/pingcap/tidb/pkg/util, because the env var are populated to the former.Check List
Tests
-V, and run the program and checking the first line of the log.Questions
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note