Commit d4e1f97
Fix termination of sequential scans of sample profile hash table
When pg_wait_sampling sends a sample profile to caller backend it
initializes a new session of sequential scan for internal hash table.
This session is tracked by internal counter 'num_seq_scans' that is
bound above by some constant thresold. If caller interrupts process of
profile receiving from message queue collector doesn't decrement
internal counter of hash table that cause its threshold crossing.
Thus fix releases a sequencial scan session explicitely even if
abort of interaction process was appeared.1 parent e6f52a7 commit d4e1f97
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
269 | 270 | | |
270 | 271 | | |
271 | 272 | | |
| |||
0 commit comments