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

Make PeriodicRunner::scheduleJob return a job handle through which the job period can be changed

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      The use case is for SERVER-33295, which adds a background thread to periodically check for and abort snapshot transactions that have expired. Transactions expire based on an adjustable server parameter, TransactionLifetimeLimit, on which we want to base the period of the background job – if TransactionLifetimeLimit is very high, we don't want to run the thread often, and if it is low, we want to run the thread more frequently. SERVER-33295 will instead set a period of 1 second – the lowest TransactionLifetimeLimit setting – and use a static function variable to track the period on which it actually wants to run, based on checking TransactionLifetimeLimit.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: