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

Commit 0f9132c

Browse files
committed
Do not drop slots in wal senders
1 parent 8e072df commit 0f9132c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/mmts/multimaster.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,9 @@ MtmEndTransaction(MtmCurrentTrans* x, bool commit)
952952
MtmUnlock();
953953
}
954954
MtmResetTransaction(x);
955-
MtmCheckSlots();
955+
if (!MyReplicationSlot) {
956+
MtmCheckSlots();
957+
}
956958
}
957959

958960
void MtmSendNotificationMessage(MtmTransState* ts, MtmMessageCode cmd)

0 commit comments

Comments
 (0)