forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit4eaf7ea
committed
Add missing and dangling downlink checks to amcheck
When bt_index_parent_check() is called with the heapallindexed option,allocate a second Bloom filter to fingerprint block numbers that appearin the downlinks of internal pages. Use Bloom filter probes whenwalking the B-Tree to detect missing downlinks. This can detect subtleproblems with page deletion/VACUUM, such as corruption caused by the bugjust fixed in commit6db4b49.The downlink Bloom filter is bound in size by work_mem. Its optimalsize is typically far smaller than that of the regular heapallindexedBloom filter, especially when the index has high fan-out.Author: Peter GeogheganReviewer: Teodor SigaevDiscussion:https://postgr.es/m/CAH2-WznUzY4fWTjm1tBB3JpVz8cCfz7k_qVp5BhuPyhivmWJFg@mail.gmail.com1 parent7f58f66 commit4eaf7ea
2 files changed
+385
-19
lines changed0 commit comments
Comments
(0)