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

CheckReplDBHash testing hook should check document type (resmoke.py)

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • TIG E (01/08/16), TIG F (01/29/16)
    • 0

    Description

      Instead of doing

      primary_doc == secondary_doc #hooks.py
      

      to compare 2 documents, we should check that each field is of the same type. We could miss things like:

      >>> -9.223372036854776e+18 == -9223372036854775808
      True
      

      Attachments

        Issue Links

          Activity

            People

              michael.grundy Michael Grundy
              robert.guo@mongodb.com Robert Guo
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: