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

Commit e7c024a

Browse files
committed
disable async twophase during recovery
1 parent 261b5bf commit e7c024a

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)