Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 37e01b4

Browse files
committed
return back synchronous_twophase=false in pglogical_receiver
1 parent 49678b9 commit 37e01b4

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pglogical_receiver.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,11 @@ pglogical_receiver_main(Datum main_arg)
299299
mode = MtmGetReplicationMode(nodeId, &got_sigterm);
300300
MTM_LOG1("[STATE] Node %i: wal_receiver starts in %s mode", nodeId, MtmReplicationModeName[mode]);
301301

302-
//if (mode == REPLMODE_RECOVERY)
303-
enableFsync = false;
304-
//else
305-
// enableFsync = true;
302+
// if (mode == REPLMODE_RECOVERY)
303+
// synchronous_twophase = false;
304+
// else
305+
// synchronous_twophase = true;
306+
synchronous_twophase = false;
306307

307308
if (mode == REPLMODE_EXIT)
308309
{

0 commit comments

Comments
 (0)