RE: pg_basebackup -F t fails when fsync spends more time than tcp_user_timeout
Ryohei Takahashi (Fujitsu) <r.takahashi_2@fujitsu.com>
From: "r.takahashi_2@fujitsu.com" <r.takahashi_2@fujitsu.com>
To: 'Michael Paquier' <michael@paquier.xyz>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2019-09-02T08:06:22Z
Lists: pgsql-hackers
Hi Michael-san, > Attached is a patch to do that, which should go down to v12 where > tcp_user_timeout has been introduced. Takahashi-san, what do you > think? Thank you for creating the patch. This patch is what I expected. I'm not sure whether this patch should be applied to postgres below 11 since I'm not sure whether the OS parameters (ex. tcp_retries2) cause the same error. Regards, Ryohei Takahashi
Commits
-
Delay fsyncs of pg_basebackup until the end of backup
- dbbae33bcd33 10.11 landed
- 996c92b27dfe 11.6 landed
- 64eb426afc34 12.0 landed
- 522baf14847a 13.0 landed