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

Improve RouterSessionRuntimeState concurrency control

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding

    Description

      Currently, instances of this objects are supposed to have ownership attached to a operation context. However, we also hold a shared_ptr around in the TaskExecutor callback. This means that if the operation context gets destroyed, the callback can still be holding the pointer to the runtime state that the original request gave up ownership.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: