• A
    Vacuum fix for ERROR updated tuple is already HEAP_MOVED_OFF. · aa5798a9
    Ashwin Agrawal 提交于
    `repair_frag()` should consult distributed snapshot
    (`localXidSatisfiesAnyDistributedSnapshot()`) while following and moving chains
    of updated tuples. Vacuum consults distributed snapshot
    (`localXidSatisfiesAnyDistributedSnapshot()`) to find which tuples can be
    deleted and not. For RECENTLY_DEAD tuples it used to make decision just based on
    comparison with OldestXmin which is not sufficient and even there distributed
    snapshot must be checked.
    
    Fixes #4298
    
    (cherry picked from commit 313ab24f)
    aa5798a9
cdbdistributedsnapshot.c 15.4 KB