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

Don't implicitly ignore _id in jstests/aggregation/extras/utils.js comparison functions

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • None
    • Fully Compatible
    • ALL

    Description

      jstests/aggregation/extras/utils.js provides a set of functions that can be used to compare objects and/or arrays. Some of these helpers ignore the _id field implicitly which can lead to test bugs where callers expect _id values to be compared. We should make any opt-out of _id comparison explicit in these helpers.

      Attachments

        Activity

          People

            james.wahlin@mongodb.com James Wahlin
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: