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

Avoid killing ongoin migration sessions in internal_transactions_sharded_from_mongod_kill_sessions.js test

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.4
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • v8.0, v7.0
    • CAR Team 2024-09-02
    • 0

      As explained in SERVER-92484, if we kill the session of a chunk migration it could happen that range deletion task for that migration will not get processed until next failover or request on the same namespace.

      Since internal_transactions_sharded_from_mongod_kill_sessions.js is implicitly killing all sessions during teardown, it is not safe to then expect all range deletion tasks will eventually drain in the checkOrphans hooks.

            Assignee:
            adam.farkas@mongodb.com Wolfee Farkas
            Reporter:
            adam.farkas@mongodb.com Wolfee Farkas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: