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

applyOps must ensure correct db for UUID

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc1
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Hide
      db.runCommand({ applyOps: (uuid => ["test", "test2"].map(db => { return { op: "c", ns: db + ".$cmd", ui: uuid, o: {create: "foo"}}}))(UUID()) })
      
      Show
      db.runCommand({ applyOps: (uuid => ["test", "test2"].map(db => { return { op: "c", ns: db + ".$cmd", ui: uuid, o: {create: "foo"}}}))(UUID()) })
    • Storage 2017-10-23, Storage 2017-11-13

      Running the applyOps command with a known UUID but wrong database for that UUID can crash the server.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: