• Simon Riggs's avatar
    Relax locking during GetCurrentVirtualXIDs(). Earlier improvements · 0192abc4
    Simon Riggs authored
    to handling of btree delete records mean that all snapshot
    conflicts on standby now have a valid, useful latestRemovedXid.
    Our earlier approach using LW_EXCLUSIVE was useful when we didnt
    always have a valid value, though is no longer useful or necessary.
    Asserts added to code path to prove and ensure this is the case.
    This will reduce contention and improve performance of larger Hot
    Standby servers.
    0192abc4
standby.c 27.4 KB