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

Validate that BSON returned to clients doesn't contain duplicate field names

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Testing Infrastructure
    • None
    • Query Execution

    Description

      Some drivers will error if the BSON returned by the server contains duplicate field names. The handling of WriteConflictExceptions in commands while mutating the BSONObjBuilder& result has led to a few bugs in 3.0: SERVER-17902, SERVER-18304, and SERVER-18420.

      We should add some code for debug-enabled builds that validates BSON returned to the client.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated: