-
Notifications
You must be signed in to change notification settings - Fork 409
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
*: Make tiflash compatible with the cse branch #9765
Conversation
2dbf453
to
236d14f
Compare
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
@yongman: 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-sigs/prow repository. |
Poco::Net::Context::VerificationMode::VERIFY_STRICT | ||
#else | ||
// mtls: metrics server allows anonymous pullers @iosmanthus | ||
Poco::Net::Context::VerificationMode::VERIFY_RELAXED |
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.
Where does this line come from? Can not find on either tiflash master or cse
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.
it has been merge months ago https://github.com/tidbcloud/tiflash-cse/pull/216
if (version <= cur_version) | ||
{ | ||
return false; | ||
} | ||
#else | ||
if (version == cur_version) |
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.
// if the `version` is less than `cur_version`, it means that the schema version in TiKV has been rolled back by restore.
// We should sync the schema again.
Why won't this happen in TiFlash master?
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.
In TiFlash master, when executing flashback cluster
, tidb won't overwrite the schema_version.
But in cse branch, they may restore the cluster by the data from S3. And this will lead to schema version rollbacked to a smaller version.
/cc @guo-shaoge Could you please also review the blocklist part? |
Poco::Net::Context::VerificationMode::VERIFY_STRICT | ||
#else | ||
// mtls: metrics server allows anonymous pullers @iosmanthus | ||
Poco::Net::Context::VerificationMode::VERIFY_RELAXED |
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.
it has been merge months ago https://github.com/tidbcloud/tiflash-cse/pull/216
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
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Co-authored-by: Calvin Neo <CalvinNeo@users.noreply.github.com>
3964824
to
5b38f50
Compare
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: CalvinNeo, Lloyd-Pottiger, yongman 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 |
[LGTM Timeline notifier]Timeline:
|
What problem does this PR solve?
Issue Number: close #9767
Problem Summary:
What is changed and how it works?
The following adoption of cse only enable when
SERVERLESS_PROXY = 1
is definedvarInt
instead ofu8
Acquiring the all the region ids created in this TiFlash node with given keyspace id
Check List
Tests
Side effects
Documentation
Release note