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

Commit 33db855

Browse files
knizhnikkelvich
authored andcommitted
Do not drop slots in wal senders
1 parent 7b2a465 commit 33db855

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

multimaster.c

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

957959
void MtmSendNotificationMessage(MtmTransState* ts, MtmMessageCode cmd)

0 commit comments

Comments
 (0)