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

Audit logging for action 'renameCollection' needs to match the spec

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • 2.5.4
    • None
    • None
    • ALL

    Description

      The spec says that bson-formatted data has format

      {source: <old-ns>, target: <new-ns>}

      But the data actually uses different keys:

      {original: <old-ns>, new: <new-ns>}

      ----------------------------------------

      Also, the renameCollection operation can fail if dropTarget is not true and the target collection already exists. No audit logging occurs in this case. It's not clear if any is necessary, since nothing happened, but other audit operations produce audit records in the case of failure so this one might.

      Attachments

        Activity

          People

            matt.dannenberg Matt Dannenberg
            bard.bloom@10gen.com bard.bloom@10gen.com
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: