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

If session id is recycled, restart worker connection

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible

      When a session id is recycled, after SERVER-100965, the worker continues on the same connection- this doesn't match the behaviour of the connection closing/ being reopened separately. Instead, we can easily reuse the worker by introducing a special "connection ended" task for when we see an endSessions event, which will force the worker to restart its connection.

            Assignee:
            alya.berciu@mongodb.com Alya Berciu
            Reporter:
            alya.berciu@mongodb.com Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: