Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1510

Expose max set version & election id in topologies

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.7.0.rc0
    • Affects Version/s: None
    • Component/s: Spec Comp
    • None

      The spec requires these two fields to be part of public api:

      maxSetVersion: an integer or null. The largest setVersion ever reported by a primary. Default null.

      maxElectionId: an ObjectId or null. The largest electionId ever reported by a primary. Default null.

      These weren't publicly exposed at all before - they were instance variables only. 1492 made them into attributes, this ticket is to write documentation for them and ensure they are exposed correctly in the public api.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: