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

Test when the removeShard command response reaches BSONObjMaxUserSize

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • CAR Team 2025-01-06

      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@mongodb.com Igor Praznik
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: