cloudnative-pg / cloudnative-pg/plugin-barman-cloud

GCS Backup times out at 120s

Aperta
#771 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Go
Stelle
191
Fork
72
Merge medio
2g 21h
PR unite (30g)
21

Descrizione

We have kubernetes clusters at remote locations that are connected to the cloud via slow connections. The database size is also small (approx 40MB compressed). However the upload to GCS buckets is timing out. Despite setting the --read-timeout to 600, it times out after 120s.

The command used is as follows
`barman-cloud-backup --user postgres --name --gzip --read-timeout 600 --cloud-provider google-cloud-storage gs:// `

The error is as follows
ERROR:
ERROR: Timeout of 120.0s exceeded, last exception: ('Connection aborted.', timeout('The write operation timed out'))
ERROR: Upload error: Timeout of 120.0s exceeded, last exception: ('Connection aborted.', timeout('The write operation timed out')) (worker 0)

It looks like the timeout is hard coded and cannot be changed. I have also tried setting the read-timeout to 0 without any success.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.