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

SessionWorkflow: upgrade WorkItem to a class with invariants and behavior enforcement

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Service Arch 2022-08-08, Service Arch 2022-08-22

    Description

      In SessionWorkflow (nee ServiceStateMachine), there's some cursor cleanup to do when a session ends, if that session in processing an exhaust command. This state of being "in exhaust" is currently a bool in WorkItem, but it could be an object that is shared among the WorkItems participating in the exhaust sequence. The end of the lifetime of that object would naturally correspond to the time at which the cursor cleanup should occur.

      Attachments

        Activity

          People

            billy.donahue@mongodb.com Billy Donahue
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: