[pg16]Question about building snapshot in logical decoding

Started by cca5507almost 3 years ago1 messageshackers

Thread notes

1 note#discussion
hackorum-bot#discussion
hackorum-bot
1 day ago

@global #discussion

#discussion
Jump to latest
#1cca5507
cca5507@qq.com

If txn1 begin after SNAPBUILD_BUILDING_SNAPSHOT and commit before
SNAPBUILD_FULL_SNAPSHOT(so txn1 will not be processed by DecodeCommit), and
txn2 begin after SNAPBUILD_FULL_SNAPSHOT and commit after
SNAPBUILD_CONSISTENT(so txn2 will be replayed), how to ensure that txn2
could see the changes made by txn1?

Thanks