Hello Christoph,

-       pg_log(PG_PROGRESS, "syncing target data directory\n");
-       syncTargetDirectory();

Doesn't the control file still need syncing?

Indeed it does, and it is done in update_controlfile if the last argument is true. Basically update_controlfile latest version always fsync the control file, unless explicitely told not to do so. The options to do that are really there only to speed up non regression tests.

--
Fabien.

Reply via email to