Add mechanism to set minimal visible snapshot that is safe for lock free reads

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2020-11-30
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We should implement this as a way to install a special commit handler.

      Before SERVER-52556 it needs to run either before the commit handler that commits the uncommitted Collection to the catalog or under the same collection catalog mutex lock that we hold while doing that move.

      After SERVER-52556 it needs to run before the compare-and-swap loop that installs a new collection catalog instance.

      This commit handler may not modify the collection catalog and should just modify the collection instance itself.

            Assignee:
            Henrik Edin
            Reporter:
            Henrik Edin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: