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

Dangling transactions in internal_transactions_sharded_from_mongod.js can cause migration to hang

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc6
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Cluster Scalability
    • Fully Compatible
    • v8.0
    • Cluster Scalability 2024-5-13, Cluster Scalability 2024-5-27
    • 0

      If a shard node that is acting as a router for an internal transaction is killed or terminated while running a non-retryable transaction, the transaction would be left in-progress since nothing would aborted it. Such dangling transactions can cause chunk migrations to hang, for example, get stuck trying to enter the critical section. Given this, this workload also needs to set lowerTransactionLifetimeLimitSeconds like in internal_transactions_sharded_from_mongod_kill_sessions.js.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: