mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-15 12:10:37 +00:00
There were two issues with it. 1. The `key >= range.start && lsn >= lsn_range.start` was too aggressive. Lsns are not monotonically increasing in the delta layer index (keys are though), so we cannot assert on them. 2. Lsns greater or equal to `lsn_range.end` were not skipped. This caused the query to consider records newer than the request Lsn.