You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[refer #PGPRO-6599]: Avoid race conditions while processing PROFILE_REQUEST and
PROFILE_RESET requests.
After initialization of "request" variable in collector.c main loop another
client backend could change the value of "collector_hdr->request" variable.
Changing this value from "PROFILE_RESET" to "PROFILE_REQUEST" could cause
deadlock: "collector" processed "PROFILE_RESET" query while client backend
waits data from the "collector_mq" shared memory message queue. Now we read
and write "collector_hdr->request" variable only using "PGWS_COLLECTOR_LOCK"
lock.
Removed obsolete "read_current_wait()" function definition from
pg_wait_sampling.h.
tags: pg_wait_sampling
0 commit comments