mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
Use an LWLock instead of a spinlock in waitlsn.c
This should prevent busy-waiting when number of waiting processes is high. Discussion: https://postgr.es/m/202404030658.hhj3vfxeyhft%40alvherre.pgsql Author: Alvaro Herrera
This commit is contained in:
@@ -345,6 +345,7 @@ WALSummarizer "Waiting to read or update WAL summarization state."
|
||||
DSMRegistry "Waiting to read or update the dynamic shared memory registry."
|
||||
InjectionPoint "Waiting to read or update information related to injection points."
|
||||
SerialControl "Waiting to read or update shared <filename>pg_serial</filename> state."
|
||||
WaitLSN "Waiting to read or update shared Wait-for-LSN state."
|
||||
|
||||
#
|
||||
# END OF PREDEFINED LWLOCKS (DO NOT CHANGE THIS LINE)
|
||||
|
||||
Reference in New Issue
Block a user