- Notifications
You must be signed in to change notification settings - Fork39
Commitd4e1f97
Fix termination of sequential scans of sample profile hash table
When pg_wait_sampling sends a sample profile to caller backend itinitializes a new session of sequential scan for internal hash table.This session is tracked by internal counter 'num_seq_scans' that isbound above by some constant thresold. If caller interrupts process ofprofile receiving from message queue collector doesn't decrementinternal counter of hash table that cause its threshold crossing.Thus fix releases a sequencial scan session explicitely even ifabort of interaction process was appeared.1 parente6f52a7 commitd4e1f97
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
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
Comments
(0)