-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docs about the new keep-alive mechanism #989
Conversation
this LGTM, approved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes introduced by this PR look good.
I'm only missing some "note" in the Backup with rsync/SSH
section providing more context about this setting. Maybe something like this:
> **NOTE:**
> Starting with Barman 3.11.0, Barman uses a keep-alive mechanism when taking
> rsync-based backups. It keeps sending a simple `SELECT 1` query over the
> libpq connection where Barman runs `pg_backup_start`/`pg_backup_stop`
> low-level API functions, and it's in place to reduce the probability of a firewall or
> a router dropping that connection as it can be idle for a long time while the base
> backup is being copied. You can control the interval of the hearbeats, or even
> disable the mechanism, through the `keepalive_interval` configuration option.
Thoughts @gcalacoci @gustabowill ?
LGTM |
Add in the docs a description of the new `keepalive_interval` server configuration as well as your equivalent CLI argument `--keepalive-interval` that can be specifided together with the `backup` command. References: BAR-256 Signed-off-by: Gustavo William <[email protected]>
5068648
to
7fd1c72
Compare
Looks awesome, thanks! I added that at the end of the Rsync section. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Add in the docs a description of the new
keepalive_interval
server configuration as well as your equivalent CLI argument--keepalive-interval
that can be specifided together with thebackup
command.References: BAR-256