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

Implement poolResetCounter logic

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch
    • Service Arch 2020-01-27

      poolResetCounter is used to guard against processing stale messages in drivers spec.

      When we have a problem when contacting a monitored host, the "failedHost" method of RSM will be called to notify the sdam subsystem.

      If this problem is a network timeout, or timeout, we should increment the poolResetCounter for the associated ServerDescription.

      There is already a _generation member variable on the connection pool that is used for the same purpose as poolResetCounter. We should determine if we want to use this value or track this separately in the rsm code.

      Either way, the sdam system needs to be modified to ignore messages coming from connections associated with older versions of poolResetCounter.

       

       

       

       

       

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            lamont.nelson@mongodb.com Lamont Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: