On Mon, Nov 30, 2026 at 9:13 PM Shlomi Noach <[email protected]> wrote:
>
> Hello,
>
> A snapshot exported by CREATE_REPLICATION_SLOT ... (SNAPSHOT 'export')
> can show the wrong row versions under concurrent updates: it can miss row
> versions it must show, or show row versions committed after the slot's
> consistent point. A client that copies its tables under the snapshot and
> then streams changes from the slot can lose rows, or receive a change
> both in the copy and from the slot.

Thanks for the report and the patches. I applied v1-0001 and v1-0002
on HEAD (dc168a8), built with --enable-injection-points and cassert,
and ran 062_slot_export_snapshot_xmin. With both patches the test
passes on every run. With 0001 reverted, keeping the injection point
from 0002, it fails on every run with:

    got: '1|2'
    expected: '1|1'

I agree with the analysis. The patches look good to me.

Regards,
Ajin Cherian
Fujitsu Australia


Reply via email to