Commit 70412cc
authored
fix(db): pin the primary-key plan in the search retirement read-bound test (#8556)
The test disabled only sequential scans, so the planner could still answer a page with a
bitmap scan that reads every remaining row. Which plan it chose depended on whether
autovacuum had analyzed the fresh fixture rows, making the read-count assertion flaky in CI.
Analyze the table and disable bitmap scans too, matching production's primary-key walk.1 parent 2cef19f commit 70412cc
1 file changed
Lines changed: 7 additions & 2 deletions
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
420 | 422 | | |
| 423 | + | |
421 | 424 | | |
| 425 | + | |
422 | 426 | | |
423 | 427 | | |
424 | 428 | | |
| |||
446 | 450 | | |
447 | 451 | | |
448 | 452 | | |
| 453 | + | |
449 | 454 | | |
450 | 455 | | |
451 | 456 | | |
| |||
0 commit comments