Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-68496

Remove expensive dead code in bgsync related to minvalid

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

      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@mongodb.com Matthew Russotto
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: