Set collection minimumVisibleSnapshot for FCV 4.0 background builds

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • ALL
    • Storage NYC 2019-03-25
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      By inspection I found this bug where we only set the collection minimumVisibleSnapshot on a collection if the build mode is hybrid, but not old-style background. This is only a bug on FCV 4.0 mongod.

      https://github.com/mongodb/mongo/blob/cb7c8ceba4bf7d6007a250799bfa35c129dd3e58/src/mongo/db/catalog/index_build_block.cpp#L97

            Assignee:
            Louis Williams
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: