Skip to content

Hardcode pg_rewind retrying (up-to 5m)#16

Merged
dyson merged 1 commit intogocardlessfrom
hardcode-pgrewind-retries
Aug 27, 2019
Merged

Hardcode pg_rewind retrying (up-to 5m)#16
dyson merged 1 commit intogocardlessfrom
hardcode-pgrewind-retries

Conversation

@lawrencejones
Copy link

  1. Retry pgrewind #14

Retry pg_rewind for up-to 5m after the first attempt. This allows us to
handle the followed database booting for a moment before falling back to
the more expensive pg_basebackup.

This comes as a crappier alternative to [1], where we were creating
proper configuration values. We want to try this before we attempt to
create a more mature setup, as we intend to leave that work for whenever
we upstream our cascading replication.

1. #14

Retry pg_rewind for up-to 5m after the first attempt. This allows us to
handle the followed database booting for a moment before falling back to
the more expensive pg_basebackup.

This comes as a crappier alternative to [1], where we were creating
proper configuration values. We want to try this before we attempt to
create a more mature setup, as we intend to leave that work for whenever
we upstream our cascading replication.
@lawrencejones lawrencejones force-pushed the hardcode-pgrewind-retries branch from e672638 to 7203611 Compare August 27, 2019 13:28
@lawrencejones lawrencejones changed the base branch from master to gocardless August 27, 2019 13:30
@lawrencejones lawrencejones mentioned this pull request Aug 27, 2019
@dyson dyson merged commit 35b235b into gocardless Aug 27, 2019
@dyson dyson deleted the hardcode-pgrewind-retries branch August 27, 2019 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants