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

A coordinator should cancel its cancel task on receiving the participant list

    • Fully Compatible
    • Sharding 2018-12-31, Sharding 2019-01-14, Sharding 2019-01-28, Sharding 2019-02-11, Sharding 2019-02-25

      Confusing, I know. When a coordinator is created, a task is scheduled at transactionLifetimeLimitSeconds (the time after which an unprepared transaction is allowed to be reaped) in the future to "cancel" the commit coordination (i.e., allow the coordinator to be destroyed so that it does not hang around in memory forever). The "cancel" is a no-op if the coordinator has already received the participant list by the time the task runs.

      This ticket is to store a handle to the task inside the coordinator, so that the coordinator can cancel the "cancel" task on receiving the participant list.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: