Remove expensive dead code in bgsync related to minvalid

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2022-08-08, Repl 2022-08-22
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-58410 removed the code which sets last applied here:

      https://github.com/10gen/mongo/blob/1887b2c89ea10f24f1e1d9f08637d4af00f67700/src/mongo/db/repl/bgsync.cpp#L494

      It did not remove some of the code around this, which creates an opCtx, takes a collection lock, and takes a mutex. This code is no longer useful and should be removed.

            Assignee:
            Matthew Russotto (Inactive)
            Reporter:
            Matthew Russotto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: