Repository navigation
Conversation
Contributor
|
This is an automated comment for commit 028763d with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
vitlibar
force-pushed
the
fix-retries-for-disconnected-nodes-for-backup-on-cluster
branch
from
December 11, 2023 23:35
07a4271 to
16afd81
Compare
Algunenano
reviewed
Dec 12, 2023
Algunenano
reviewed
Dec 12, 2023
| message = fmt::format("No connection to host {} yet", host); | ||
| if (!retries_ctl.isLastRetry()) | ||
| message += ", will retry"; | ||
| retries_ctl.setUserError(ErrorCodes::FAILED_TO_SYNC_BACKUP_OR_RESTORE, message); |
Member
There was a problem hiding this comment.
Can/Should we break out of the loop here to avoid unnecessary checks of the rest of the replicas?
Member
Author
There was a problem hiding this comment.
Yes we can, and I've changed the code.
… return earlier from the cycly on a connection problem.
Algunenano
approved these changes
Dec 12, 2023
Member
Author
|
Test failures:
|
vitlibar
deleted the
fix-retries-for-disconnected-nodes-for-backup-on-cluster
branch
December 13, 2023 12:06
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.
Changelog category:
Changelog entry:
Fix retries for disconnected nodes for
BACKUP/RESTORE ON CLUSTER.The issue with retries was visible in the following failed tests, for example:
test_backup_restore_on_cluster/test_disallow_concurrency.py::test_concurrent_restores_on_different_node