Skip to content

Commit

Permalink
Check for invalid down link while prefetching B-Tree leave pages for …
Browse files Browse the repository at this point in the history
…index-only scan (#9867)

## Problem

See #9866

Index-only scan prefetch implementation doesn't take in account that
down link may be invalid

## Summary of changes

Check that downlink is valid block number


Correspondent Postgres PRs:
neondatabase/postgres#534
neondatabase/postgres#535
neondatabase/postgres#536
neondatabase/postgres#537

---------

Co-authored-by: Konstantin Knizhnik <[email protected]>
  • Loading branch information
knizhnik and Konstantin Knizhnik authored Dec 13, 2024
1 parent d56fea6 commit 2521eba
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion vendor/postgres-v14
2 changes: 1 addition & 1 deletion vendor/postgres-v15
2 changes: 1 addition & 1 deletion vendor/postgres-v16
2 changes: 1 addition & 1 deletion vendor/postgres-v17
8 changes: 4 additions & 4 deletions vendor/revisions.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"v17": [
"17.2",
"01fa3c48664ca030cfb69bb4a350aa9df4691d88"
"010c0ea2eb06afe76485a33c43954cbcf3d99f86"
],
"v16": [
"16.6",
"81428621f7c04aed03671cf80a928e0a36d92505"
"97f9fde349c6de6d573f5ce96db07eca60ce6185"
],
"v15": [
"15.10",
"8736b10c1d93d11b9c0489872dd529c4c0f5338f"
"f262d631ad477a1819e84a183e5a7ef561830085"
],
"v14": [
"14.15",
"13ff324150fceaac72920e01742addc053db9462"
"c2f65b3201591e02ce45b66731392f98d3388e73"
]
}

1 comment on commit 2521eba

@github-actions
Copy link

@github-actions github-actions bot commented on 2521eba Dec 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

7323 tests run: 7015 passed, 1 failed, 307 skipped (full report)


Failures on Postgres 16

  • test_storage_controller_many_tenants[github-actions-selfhosted]: release-x86-64
# Run all failed tests locally:
scripts/pytest -vv -n $(nproc) -k "test_storage_controller_many_tenants[release-pg16-github-actions-selfhosted]"
Flaky tests (9)

Postgres 17

Postgres 16

  • test_physical_replication_config_mismatch_too_many_known_xids: release-x86-64

Postgres 15

Postgres 14

  • test_pgdata_import_smoke[None-1024-RelBlockSize.MULTIPLE_RELATION_SEGMENTS]: release-arm64
  • test_lsn_lease_size[True]: release-arm64

Code coverage* (full report)

  • functions: 31.4% (8403 of 26778 functions)
  • lines: 48.1% (66642 of 138651 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
2521eba at 2024-12-14T17:40:52.179Z :recycle:

Please sign in to comment.