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

Skip exit-code check in count_plan_summary.js, when running in suites that remove shards in background

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc14
    • Affects Version/s: 8.0.0-rc0, 8.1.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2024-07-08, CAR Team 2024-07-22
    • 0

      The count_plan_summary.js test kills an operation it initiated, and checks that it was interrupted afterwards.
      This might fail when running in suites that perform add/remove shard operations in the background.
      When draining a shard, an overlapping migration might occur concurrently to the killOp performed by the test.
      This can trigger a refresh on the router, making the killed operation being retried instead of being interrupted.

      To prevent the failure, we should skip the exit-code check for the interrupted operation, when running in suites that remove shards. 

            Assignee:
            robert.sander@mongodb.com Robert Sander
            Reporter:
            robert.sander@mongodb.com Robert Sander
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: