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

ERROR unsupported modification to roles collection in oplog

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: 2.5.4
    • Component/s: Security
    • Labels:
    • ALL
    • Hide

      $ mongo --norc
      MongoDB shell version: 2.5.5-pre-
      connecting to: test
      > db.auth('root','password')
      1
      > db.runCommand("authSchemaUpgradeStep")

      { "done" : false, "ok" : 1 }

      > db.runCommand("authSchemaUpgradeStep")

      { "done" : true, "ok" : 1 }
      Show
      $ mongo --norc MongoDB shell version: 2.5.5-pre- connecting to: test > db.auth('root','password') 1 > db.runCommand("authSchemaUpgradeStep") { "done" : false, "ok" : 1 } > db.runCommand("authSchemaUpgradeStep") { "done" : true, "ok" : 1 }

      Running the authSchemaUpgradeStep's second phase on a standalone node produces the following message in my log:

      ERROR: Unsupported modification to roles collection in oplog; TODO how to remedy. OplogOperationUnsupported Unsupported oplog operation Oplog entry: c

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: