Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2641

maxStalenessReducer fails on empty set of servers

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.9
    • Affects Version/s: 3.5.8
    • Component/s: None
    • None

      When the primary is unknown the maxStalenessReducer attempts to determine the server with the greatest lastWriteDate in order to calculate each server's staleness. There is a bug where the reducer currently assumes it will always be able to find such a server, which is not possible when working with an empty set of servers.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: