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

Commit a5a05cb

Browse files
committed
commit 407a506 broke referee recovery. We still need to send transactions with invalidId
1 parent 127623a commit a5a05cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pglogical_proto.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ pglogical_write_begin(StringInfo out, PGLogicalOutputData *data,
160160
MTM_LOG2("%d: pglogical_write_begin XID=%lld sent", MyProcPid, (long64)txn->xid);
161161
pq_sendbyte(out, 'B'); /* BEGIN */
162162
pq_sendint(out, MtmNodeId, 4);
163-
pq_sendint64(out, txn->xid);
163+
// pq_sendint64(out, txn->xid);
164+
pq_sendint64(out, isRecovery ? InvalidTransactionId : txn->xid);
164165
pq_sendint64(out, csn);
165166
pq_sendint64(out, participantsMask);
166167

0 commit comments

Comments
 (0)