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

Implement poolResetCounter logic

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch
    • Service Arch 2020-01-27

    Description

      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.

       

       

       

       

       

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            lamont.nelson@mongodb.com Lamont Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: