Test when the removeShard command response reaches BSONObjMaxUserSize

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-01-06, CAR Team 2025-01-20, CAR Team 2025-02-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      After SERVER-89883, the response of the removeShard command will be truncated whenever the BSONObjMaxUserSize is exceeded.
      However, no tests are checking this behavior. Therefore, this ticket aims to test the scenario when the removeShard command response reaches BSONObjMaxUserSize. My suggestion is to test the appendShardDrainingStatus() under a unit test to avoid creating too many collections on a js test.

            Assignee:
            Igor Praznik
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: