-
Notifications
You must be signed in to change notification settings - Fork 411
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
9acc7d5
to
2dbf453
Compare
Signed-off-by: JaySon-Huang <[email protected]>
Signed-off-by: JaySon-Huang <[email protected]>
2dbf453
to
236d14f
Compare
Signed-off-by: JaySon-Huang <[email protected]>
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
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: yongman The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@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
"Failed to get lock by key {}, region_id={}", | ||
tikv_key.toDebugString(), | ||
region_id); | ||
LOG_DEBUG(Logger::get(), "Failed to get lock by key {}, region_id={}", tikv_key.toDebugString(), region_id); |
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.
Why change this to DEBUG?
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 changed to debug level in the cse branch because there could be lots of logging after file base large txn
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?
/cc @guo-shaoge Could you please also review the blocklist part? |
Co-authored-by: Calvin Neo <[email protected]>
{ | ||
#if SERVERLESS_PROXY == 0 | ||
return getMaxPrehandleSubtaskSize(); | ||
#else | ||
auto max_subtask_size = getMaxPrehandleSubtaskSize(); | ||
// In serverless mode, IO takes more part in decoding stage, so we can increase parallel limit. | ||
// In real test, the prehandling speed decreases if we use higher concurrency. | ||
return std::min(4, total_concurrency); | ||
#endif | ||
} |
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.
"Failed to get lock by key {}, region_id={}", | ||
tikv_key.toDebugString(), | ||
region_id); | ||
LOG_DEBUG(Logger::get(), "Failed to get lock by key {}, region_id={}", tikv_key.toDebugString(), region_id); |
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 changed to debug level in the cse branch because there could be lots of logging after file base large txn
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
@JaySon-Huang: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
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