• Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.7.2
    • Affects Version/s: None
    • Component/s: Write Ops
    • None

      db.rename.insert({_id:1, a:1})
      db.rename.update({_id:1}, {$rename:{'a':'b'}})
      db.find({_id:1})
      {_id:1, b:1}

      oplog needs to be rewritten as $unset/$set or a op in the middle could cause problems

            Assignee:
            aaron Aaron Staple
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            28 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: