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

Use bsonBinaryEqual in checkDBHashesForReplSet

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Backport Completed:
    • Sprint:
      TIG 2016-09-19

      Description

      The checkDBHashesForReplSet (in src/mongo/shell/replsettest.js) currently uses bsonWoCompare, which doesn't fail if there are type differences, like NumberLong and NumberInt. The new function bsonBinaryEqual should be used instead.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jonathan.abrahams Jonathan Abrahams
              Reporter:
              jonathan.abrahams Jonathan Abrahams
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: