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

$rename changes field ordering

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • QuInt E (01/11/16)
    • 0

    Description

      A $rename is replicated as a $set and a $unset, which results in the same document but with the fields in a different order.

      This causes dbHash to be different on the secondary and primary.

      Attachments

        Issue Links

          Activity

            People

              david.storch@mongodb.com David Storch
              robert.guo@mongodb.com Robert Guo (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: