Mihail Nikalayeu <mihailnikalayeu@gmail.com> wrote:
> Hello!
>
> I started an attempt to make a "lightweight" MVCC-safe prototype and
> stuck into the "it is not working" issue.
> After some debugging I realized Antonin's variant (catalog-mode based)
> seems to be broken also...
>
> And after a few more hours I realized non-MVCC is broken as well :)
>
> This is a patch with a test to reproduce the issue related to repack +
> concurrent modifications.
> Seems like some updates may be lost.
>
> I hope the patch logic is clear - but feel free to ask if not.
Are you sure the test is complete? I see no occurrence of the REPACK command
in it.
--
Antonin Houska
Web: https://www.cybertec-postgresql.com