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

Mark currentop_shell.js as assumes_balancer_off

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc6
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • ALL
    • v8.0
    • QE 2024-05-27, QE 2024-06-10
    • 200

      While executing the following query

      db.runCommand({
              aggregate: "currentOp_cursor",
              pipeline: [{
                  $addFields: {
                      newVal: {$function: {args: [], body: "sleep(1000000)", lang: "js"}},
                      bigDoc: createLargeDoc()
                  }
              }],
              comment: TestData.comment,
              cursor: {}
          }) 

      the "collection migration" can happen, which kills the query, resulting in no matching $currentOp objecting being returned.

      In order to avoid this from happening, we need to mark this test as assumes_balancer_off

            Assignee:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Reporter:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: