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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy