-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
* : Remove binlog related codes #55955
Conversation
Hi @Benjamin2037. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. 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. |
This comment was marked as resolved.
This comment was marked as resolved.
/retest |
@Benjamin2037: Cannot trigger testing until a trusted user reviews the PR and leaves an In 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. |
8110a97
to
5c57523
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #55955 +/- ##
=================================================
- Coverage 72.9612% 56.8869% -16.0744%
=================================================
Files 1611 1758 +147
Lines 447632 630345 +182713
=================================================
+ Hits 326598 358584 +31986
- Misses 101001 247167 +146166
- Partials 20033 24594 +4561
Flags with carried forward coverage won't be shown. Click here to find out more.
|
1da47ca
to
25c09f6
Compare
/retest |
@Benjamin2037: Cannot trigger testing until a trusted user reviews the PR and leaves an In 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. |
https://github.com/PingCAP-QE/tidb-test/pull/2385 This one is the pr for mysql-test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rest lgtm
@@ -3467,10 +3465,6 @@ const ( | |||
InnodbFastShutdown = "innodb_fast_shutdown" | |||
// InnodbLockWaitTimeout is the name for 'innodb_lock_wait_timeout' system variable. | |||
InnodbLockWaitTimeout = "innodb_lock_wait_timeout" | |||
// SQLLogBin is the name for 'sql_log_bin' system variable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe involve PM to decide if we should keep some level of compatibility with MySQL.
For sql_log_bin
, we can't implement it in TiDB, so we may allow read it and forbid writing to it. For log_bin
, seems this is a read-only variable in MySQL, we can also let TiDB always return OFF
for it.
https://dev.mysql.com/doc/refman/8.4/en/replication-options-binary-log.html#sysvar_sql_log_bin
https://dev.mysql.com/doc/refman/8.4/en/replication-options-binary-log.html#sysvar_log_bin
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TiDB has discarded binlog, which makes it inherently incompatible with MySQL in this aspect. Therefore, keeping the binlog-related parameters is also pointless. It is recommended to remove them as well.
@Frank945946: adding LGTM is restricted to approvers and reviewers in OWNERS files. In 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/test-infra repository. |
/retest |
@Benjamin2037: Cannot trigger testing until a trusted user reviews the PR and leaves an In 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. |
981989a
to
70039bb
Compare
/retest |
@lance6716: Cannot trigger testing until a trusted user reviews the PR and leaves an In 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. |
When can this PR be merged? I want to update tipb but found that the compiler will report an error because |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after confirmation with the team on the potential business impact mitigation.
Signed-off-by: Benjamin2037 <bear.c@pingcap.com>
Signed-off-by: Benjamin2037 <bear.c@pingcap.com>
Signed-off-by: Benjamin2037 <bear.c@pingcap.com>
db77196
to
856d8f9
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Frank945946, lance6716, tangenta, winoros, yudongusa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This comment was marked as resolved.
This comment was marked as resolved.
/retest |
@lance6716: Cannot trigger testing until a trusted user reviews the PR and leaves an In 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. |
What problem does this PR solve?
Remove TiDB-binlog related code.
Issue Number: close #55949
Problem Summary:
What changed and how does it work?
Check List
Tests
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.