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

Commit 8c0c0c1

Browse files
committed
Revert "disable async twophase during recovery"
This reverts commit 567c62ce95be7dbec67313ae040bf90399e6050d.
1 parent 2b26117 commit 8c0c0c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pglogical_receiver.c

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

301-
// if (mode == REPLMODE_RECOVERY)
302-
// synchronous_twophase = false;
303-
// else
304-
// synchronous_twophase = true;
301+
if (mode == REPLMODE_RECOVERY)
302+
synchronous_twophase = false;
303+
else
304+
synchronous_twophase = true;
305305

306306
if (mode == REPLMODE_EXIT)
307307
{

0 commit comments

Comments
 (0)