- Notifications
You must be signed in to change notification settings - Fork5
Commitdd72882
committed
Fix locking problem in _hash_squeezebucket() / _hash_freeovflpage().
A bucket squeeze operation needs to lock each page of the bucketbefore releasing the prior page, but the previous coding fumbled thelocking when freeing an overflow page during a bucket squeezeoperation. Commit6d46f47introduced this bug.Amit Kapila, with help from Kuntal Ghosh and Dilip Kumar, afteran initial trouble report by Jeff Janes. Reviewed by me. I alsofixed a problem with a comment.1 parent668dbbe commitdd72882
2 files changed
+13
-30
lines changedLines changed: 12 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 |
| - | |
381 |
| - | |
| 380 | + | |
382 | 381 |
| |
383 | 382 |
| |
384 | 383 |
| |
385 |
| - | |
| 384 | + | |
386 | 385 |
| |
387 | 386 |
| |
388 | 387 |
| |
| |||
447 | 446 |
| |
448 | 447 |
| |
449 | 448 |
| |
| 449 | + | |
450 | 450 |
| |
451 |
| - | |
452 |
| - | |
453 | 451 |
| |
454 |
| - | |
455 |
| - | |
456 |
| - | |
457 |
| - | |
458 |
| - | |
459 |
| - | |
460 | 452 |
| |
461 |
| - | |
462 |
| - | |
463 |
| - | |
464 |
| - | |
465 |
| - | |
466 |
| - | |
467 |
| - | |
468 | 453 |
| |
469 | 454 |
| |
470 | 455 |
| |
| |||
783 | 768 |
| |
784 | 769 |
| |
785 | 770 |
| |
786 |
| - | |
787 |
| - | |
788 |
| - | |
789 |
| - | |
790 |
| - | |
| 771 | + | |
791 | 772 |
| |
792 | 773 |
| |
793 | 774 |
| |
794 | 775 |
| |
795 | 776 |
| |
796 |
| - | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
797 | 781 |
| |
798 | 782 |
| |
799 | 783 |
| |
800 | 784 |
| |
801 | 785 |
| |
802 |
| - | |
803 |
| - | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
804 | 790 |
| |
805 | 791 |
| |
806 | 792 |
| |
807 |
| - | |
808 |
| - | |
809 |
| - | |
810 | 793 |
| |
811 | 794 |
| |
812 | 795 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
314 | 314 |
| |
315 | 315 |
| |
316 | 316 |
| |
317 |
| - | |
| 317 | + | |
318 | 318 |
| |
319 | 319 |
| |
320 | 320 |
| |
|
0 commit comments
Comments
(0)