Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Reduce the reconnect time when replication fails. #6617

Merged
merged 1 commit into from
Jan 3, 2020

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jan 2, 2020

The thinking here is that, if we wait a full 30 seconds, there's a good chance that there will be a huge volume of data waiting for us, so we'll get booted straight off again, and never successfully reconnect. OTOH even if we end up tight-looping on a reconnection, one connection every second isn't so bad.

This is all something of a sticking-plaster, of course: ideally there would be a separate "catching up mode" in which we wouldn't get booted straight off again.

Helps to mitigate #6602.

@richvdh richvdh requested a review from a team January 2, 2020 17:53
Copy link
Contributor

@babolivier babolivier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@richvdh richvdh merged commit 6964ea0 into develop Jan 3, 2020
@richvdh richvdh deleted the rav/reduce_replication_reconnect_time branch January 3, 2020 14:19
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit '6964ea095':
  Reduce the reconnect time when replication fails. (#6617)
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.

3 participants