- Notifications
You must be signed in to change notification settings - Fork5
Commit17eaae9
committed
Fix logging of pages skipped due to pins during vacuum.
The new logging introduced in35192f0 made the incorrect assumptionthat scan_all vacuums would always wait for buffer pins; but they onlydo so if the page actually needs to be frozen.Fix that inaccuracy by removing the difference in log output based onscan_all and just always remove the same message. I chose to keep thesplit log message from the original commit for now, it seems likelythat it'll be of use in the future.Also merge the line about buffer pins in autovacuum's log output intothe existing "pages: ..." line. It seems odd to have a separate lineabout pins, without the "topic: " prefix others have.Also rename the new 'pinned_pages' variable to 'pinskipped_pages'because it actually tracks the number of pages that could *not* bepinned.Discussion: 20150104005324.GC9626@awork2.anarazel.de1 parent2048e5b commit17eaae9
1 file changed
+8
-24
lines changedLines changed: 8 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
105 | 105 |
| |
106 | 106 |
| |
107 | 107 |
| |
108 |
| - | |
| 108 | + | |
109 | 109 |
| |
110 | 110 |
| |
111 | 111 |
| |
| |||
356 | 356 |
| |
357 | 357 |
| |
358 | 358 |
| |
359 |
| - | |
| 359 | + | |
360 | 360 |
| |
361 |
| - | |
362 |
| - | |
363 |
| - | |
364 |
| - | |
365 |
| - | |
366 |
| - | |
367 |
| - | |
368 |
| - | |
369 |
| - | |
370 |
| - | |
371 |
| - | |
| 361 | + | |
| 362 | + | |
372 | 363 |
| |
373 | 364 |
| |
374 | 365 |
| |
| |||
634 | 625 |
| |
635 | 626 |
| |
636 | 627 |
| |
637 |
| - | |
638 |
| - | |
639 | 628 |
| |
640 | 629 |
| |
641 | 630 |
| |
| |||
644 | 633 |
| |
645 | 634 |
| |
646 | 635 |
| |
| 636 | + | |
647 | 637 |
| |
648 | 638 |
| |
649 | 639 |
| |
| |||
663 | 653 |
| |
664 | 654 |
| |
665 | 655 |
| |
| 656 | + | |
666 | 657 |
| |
667 | 658 |
| |
668 | 659 |
| |
| |||
1129 | 1120 |
| |
1130 | 1121 |
| |
1131 | 1122 |
| |
1132 |
| - | |
1133 |
| - | |
1134 |
| - | |
1135 |
| - | |
1136 |
| - | |
1137 |
| - | |
1138 |
| - | |
1139 |
| - | |
1140 |
| - | |
| 1123 | + | |
| 1124 | + | |
1141 | 1125 |
| |
1142 | 1126 |
| |
1143 | 1127 |
| |
|
0 commit comments
Comments
(0)