Investigate changes in SERVER-110061: Add names to update path error codes

XMLWordPrintableJSON

    • Type: Investigation
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Developer Tools

      Original Downstream Change Summary

      This change eliminates the specific error codes that were returned by update and upsert operations in case the generated BSON object was larger than the BSON max object size, and replaces them with the more generic `BSONObjectTooLarge` error code.

      Upsert operations previously could return error code `17420` if the generated BSON object was too large. Now they return `BSONObjectTooLarge` (error code 10334) in this case.
      Update operations previously could return error code `17419` if the generated BSON object was too large. Now they return `BSONObjectTooLarge` (error code 10334) in this case.

      Description of Linked Ticket

      This and this can be upgraded from unnamed error codes to BSONObjectTooLarge. Basically, the remainder of the unnamed codes in max_doc_size.js.

            Assignee:
            Unassigned
            Reporter:
            Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: