forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb7f2dd9

Amit Kapila
Update parallel BTree scan state when the scan keys can't be satisfied.
For parallel btree scan to work for array of scan keys, it should reachBTPARALLEL_DONE state once for every distinct combination of array keys.This is required to ensure that the parallel workers don't try to seizeblocks at the same time for different scan keys. We missed to update thisstate when we discovered that the scan keys can't be satisfied.Author: James HunterReviewed-by: Amit KapilaTested-by: Justin PryzbyBackpatch-through: 10, where it was introducedDiscussion:https://postgr.es/m/4248CABC-25E3-4809-B4D0-128E1BAABC3C@amazon.com1 parent45b9805 commitb7f2dd9
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
880 | 880 |
| |
881 | 881 |
| |
882 | 882 |
| |
| 883 | + | |
| 884 | + | |
| 885 | + | |
883 | 886 |
| |
| 887 | + | |
884 | 888 |
| |
885 | 889 |
| |
886 | 890 |
| |
|
0 commit comments
Comments
(0)