pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Drop slot's LWLock before returning from SaveSlotToPath() 6+ messages / 1 participants [nested] [flat]
* pgsql: Drop slot's LWLock before returning from SaveSlotToPath() @ 2020-03-26 13:16 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2020-03-26 13:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Drop slot's LWLock before returning from SaveSlotToPath() When SaveSlotToPath() is called with elevel=LOG, the early exits didn't release the slot's io_in_progress_lock. This could result in a walsender being stuck on the lock forever. A possible way to get into this situation is if the offending code paths are triggered in a low disk space situation. Author: Pavan Deolasee <pavan.deolasee@2ndquadrant.com> Reported-by: Craig Ringer <craig@2ndquadrant.com> Discussion: https://www.postgresql.org/message-id/flat/56a138c5-de61-f553-7e8f-6789296de785%402ndquadrant.com Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2d8597ba66a1646e353c0ff755b4b0b85cd1747f Modified Files -------------- src/backend/replication/slot.c | 9 +++++++++ 1 file changed, 9 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Drop slot's LWLock before returning from SaveSlotToPath() @ 2020-03-26 13:16 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2020-03-26 13:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Drop slot's LWLock before returning from SaveSlotToPath() When SaveSlotToPath() is called with elevel=LOG, the early exits didn't release the slot's io_in_progress_lock. This could result in a walsender being stuck on the lock forever. A possible way to get into this situation is if the offending code paths are triggered in a low disk space situation. Author: Pavan Deolasee <pavan.deolasee@2ndquadrant.com> Reported-by: Craig Ringer <craig@2ndquadrant.com> Discussion: https://www.postgresql.org/message-id/flat/56a138c5-de61-f553-7e8f-6789296de785%402ndquadrant.com Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/f36a10434a31bdf6298071c1ddf8d151d103d9fa Modified Files -------------- src/backend/replication/slot.c | 9 +++++++++ 1 file changed, 9 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Drop slot's LWLock before returning from SaveSlotToPath() @ 2020-03-26 13:16 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2020-03-26 13:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Drop slot's LWLock before returning from SaveSlotToPath() When SaveSlotToPath() is called with elevel=LOG, the early exits didn't release the slot's io_in_progress_lock. This could result in a walsender being stuck on the lock forever. A possible way to get into this situation is if the offending code paths are triggered in a low disk space situation. Author: Pavan Deolasee <pavan.deolasee@2ndquadrant.com> Reported-by: Craig Ringer <craig@2ndquadrant.com> Discussion: https://www.postgresql.org/message-id/flat/56a138c5-de61-f553-7e8f-6789296de785%402ndquadrant.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/49bf81536e242f079bfbce6e8f95f53f18207dd5 Modified Files -------------- src/backend/replication/slot.c | 10 ++++++++++ 1 file changed, 10 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Drop slot's LWLock before returning from SaveSlotToPath() @ 2020-03-26 13:16 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2020-03-26 13:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Drop slot's LWLock before returning from SaveSlotToPath() When SaveSlotToPath() is called with elevel=LOG, the early exits didn't release the slot's io_in_progress_lock. This could result in a walsender being stuck on the lock forever. A possible way to get into this situation is if the offending code paths are triggered in a low disk space situation. Author: Pavan Deolasee <pavan.deolasee@2ndquadrant.com> Reported-by: Craig Ringer <craig@2ndquadrant.com> Discussion: https://www.postgresql.org/message-id/flat/56a138c5-de61-f553-7e8f-6789296de785%402ndquadrant.com Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ba4cc05ce22d8b83194f46085f54c23b7e2f448c Modified Files -------------- src/backend/replication/slot.c | 9 +++++++++ 1 file changed, 9 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Drop slot's LWLock before returning from SaveSlotToPath() @ 2020-03-26 13:16 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2020-03-26 13:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Drop slot's LWLock before returning from SaveSlotToPath() When SaveSlotToPath() is called with elevel=LOG, the early exits didn't release the slot's io_in_progress_lock. This could result in a walsender being stuck on the lock forever. A possible way to get into this situation is if the offending code paths are triggered in a low disk space situation. Author: Pavan Deolasee <pavan.deolasee@2ndquadrant.com> Reported-by: Craig Ringer <craig@2ndquadrant.com> Discussion: https://www.postgresql.org/message-id/flat/56a138c5-de61-f553-7e8f-6789296de785%402ndquadrant.com Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ce28a43ffa89b49584e75d6bb9f8ae03a8e13151 Modified Files -------------- src/backend/replication/slot.c | 9 +++++++++ 1 file changed, 9 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Drop slot's LWLock before returning from SaveSlotToPath() @ 2020-03-26 13:16 Peter Eisentraut <peter@eisentraut.org> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2020-03-26 13:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Drop slot's LWLock before returning from SaveSlotToPath() When SaveSlotToPath() is called with elevel=LOG, the early exits didn't release the slot's io_in_progress_lock. This could result in a walsender being stuck on the lock forever. A possible way to get into this situation is if the offending code paths are triggered in a low disk space situation. Author: Pavan Deolasee <pavan.deolasee@2ndquadrant.com> Reported-by: Craig Ringer <craig@2ndquadrant.com> Discussion: https://www.postgresql.org/message-id/flat/56a138c5-de61-f553-7e8f-6789296de785%402ndquadrant.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/223e9c77dcaf8788fdca2fab3a3b65b797a54615 Modified Files -------------- src/backend/replication/slot.c | 10 ++++++++++ 1 file changed, 10 insertions(+) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2020-03-26 13:16 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-03-26 13:16 pgsql: Drop slot's LWLock before returning from SaveSlotToPath() Peter Eisentraut <peter@eisentraut.org> 2020-03-26 13:16 pgsql: Drop slot's LWLock before returning from SaveSlotToPath() Peter Eisentraut <peter@eisentraut.org> 2020-03-26 13:16 pgsql: Drop slot's LWLock before returning from SaveSlotToPath() Peter Eisentraut <peter@eisentraut.org> 2020-03-26 13:16 pgsql: Drop slot's LWLock before returning from SaveSlotToPath() Peter Eisentraut <peter@eisentraut.org> 2020-03-26 13:16 pgsql: Drop slot's LWLock before returning from SaveSlotToPath() Peter Eisentraut <peter@eisentraut.org> 2020-03-26 13:16 pgsql: Drop slot's LWLock before returning from SaveSlotToPath() Peter Eisentraut <peter@eisentraut.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox