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

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

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kaloian.manassiev Kaloian Manassiev
              Reporter:
              esha.maharishi Esha Maharishi
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: