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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0
    • Component/s: None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      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

            Assignee:
            james.wahlin James Wahlin
            Reporter:
            svilen.mihaylov Svilen Mihaylov
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: