Skip to content

Commit abf62d8

Browse files
authored
Revert "Use --no-sync for pg_receivewal"
1 parent 4d98b74 commit abf62d8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pghoard/pghoard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def receivexlog_listener(self, site, connection_info, wal_directory):
265265
# Depending on the PG version, we must react either to MOVE (pre-PG10)
266266
# or CLOSE_WRITE (PG10+)
267267
if pg_version_server >= 100000:
268-
events = ["IN_CLOSE_WRITE", "IN_MOVED_TO", "IN_MOVED_FROM"]
268+
events = ["IN_CLOSE_WRITE"]
269269
else:
270270
events = ["IN_MOVED_TO", "IN_MOVED_FROM"]
271271
events += ["IN_DELETE_SELF"]

pghoard/receivexlog.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def run_safe(self):
4545
"--status-interval",
4646
"1",
4747
"--verbose",
48-
"--no-sync",
4948
"--directory",
5049
self.wal_location,
5150
]

0 commit comments

Comments
 (0)