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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: