[flash-423] fix ch fail to start when tidb cluster is not ready.#203
Merged
hanfei1991 merged 4 commits intomasterfrom Aug 27, 2019
Merged
[flash-423] fix ch fail to start when tidb cluster is not ready.#203hanfei1991 merged 4 commits intomasterfrom
hanfei1991 merged 4 commits intomasterfrom
Conversation
Member
Author
|
/run-integration-tests |
2 similar comments
Member
Author
|
/run-integration-tests |
Member
Author
|
/run-integration-tests |
Member
Author
|
/run-integration-tests |
1 similar comment
Member
Author
|
/run-integration-tests |
innerr
reviewed
Aug 27, 2019
dbms/src/Server/Server.cpp
Outdated
|
|
||
| /// Then, sync schemas with TiDB, and initialize schema sync service. | ||
| global_context->getTMTContext().getSchemaSyncer()->syncSchemas(*global_context); | ||
| for (;;) |
innerr
reviewed
Aug 27, 2019
dbms/src/Server/Server.cpp
Outdated
| catch (Poco::Exception & e) | ||
| { | ||
| LOG_ERROR(log, "Bootstrap failed because sync schema error: " << e.displayText() << "\n We will sleep 3 seconds and try again."); | ||
| ::sleep(3); |
Contributor
There was a problem hiding this comment.
sleep(1) is good, will not occupy much CPU
Member
Author
|
/run-integration-tests |
Member
Author
|
@innerr PTAL again |
12 tasks
JaySon-Huang
added a commit
to JaySon-Huang/tiflash
that referenced
this pull request
Aug 2, 2024
Signed-off-by: Wish <breezewish@outlook.com> Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com> Co-authored-by: Wish <breezewish@outlook.com> Co-authored-by: JaySon-Huang <tshent@qq.com>
JaySon-Huang
added a commit
that referenced
this pull request
Aug 6, 2024
Signed-off-by: Wish <breezewish@outlook.com> Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com> Co-authored-by: Wish <breezewish@outlook.com> Co-authored-by: JaySon-Huang <tshent@qq.com>
Lloyd-Pottiger
added a commit
to Lloyd-Pottiger/tiflash
that referenced
this pull request
Aug 28, 2024
Signed-off-by: Wish <breezewish@outlook.com> Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com> Co-authored-by: Wish <breezewish@outlook.com> Co-authored-by: JaySon-Huang <tshent@qq.com>
Lloyd-Pottiger
added a commit
to Lloyd-Pottiger/tiflash
that referenced
this pull request
Aug 30, 2024
Signed-off-by: Wish <breezewish@outlook.com> Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com> Co-authored-by: Wish <breezewish@outlook.com> Co-authored-by: JaySon-Huang <tshent@qq.com>
Lloyd-Pottiger
added a commit
to Lloyd-Pottiger/tiflash
that referenced
this pull request
Sep 5, 2024
Signed-off-by: Wish <breezewish@outlook.com> Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com> Co-authored-by: Wish <breezewish@outlook.com> Co-authored-by: JaySon-Huang <tshent@qq.com>
Lloyd-Pottiger
added a commit
to Lloyd-Pottiger/tiflash
that referenced
this pull request
Sep 6, 2024
Signed-off-by: Wish <breezewish@outlook.com> Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com> Co-authored-by: Wish <breezewish@outlook.com> Co-authored-by: JaySon-Huang <tshent@qq.com>
12 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
retry in an endless loop. By the way, I have tested manually :D