Skip to content
This repository has been archived by the owner on May 24, 2020. It is now read-only.

Add retries to deployment #65

Merged
merged 1 commit into from Nov 13, 2018
Merged

Add retries to deployment #65

merged 1 commit into from Nov 13, 2018

Conversation

JohnStrunk
Copy link
Member

Deployment tended to fail at 2 points:

  • When getting the gd2 peers
  • When adding devices

It appears that these two failure points can be avoided by adding
retries. This commit adds those retries. We retry getting peers by just
removing the (repeat) fetch of the peers as the first instance had
retries already. When adding devices, we simply try again if necessary
during the loop.

The fixes (particularly the second) are not ideal as I don't think we
have a full understanding of the nature of the transient failures.


I believe this will help #44 and #38, but I'm not closing them since it's unclear that this is the proper fix, particularly the retry during device add.

Deployment tended to fail at 2 points:
- When getting the gd2 peers
- When adding devices

It appears that these two failure points can be avoided by adding
retries. This commit adds those retries. We retry getting peers by just
removing the (repeat) fetch of the peers as the first instance had
retries already. When adding devices, we simply try again if necessary
during the loop.

The fixes (particularly the second) are not ideal as I don't think we
have a full understanding of the nature of the transient failures.

Signed-off-by: John Strunk <jstrunk@redhat.com>
@JohnStrunk JohnStrunk added the bug Something isn't working label Nov 12, 2018
@ghost ghost assigned JohnStrunk Nov 12, 2018
@ghost ghost added in progress and removed bug Something isn't working labels Nov 12, 2018
@kshlm kshlm merged commit c41878d into gluster:master Nov 13, 2018
@ghost ghost removed the in progress label Nov 13, 2018
@Madhu-1 Madhu-1 mentioned this pull request Nov 13, 2018
@JohnStrunk JohnStrunk deleted the add-retries branch December 19, 2018 19:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants