Lazily call ismaster instead of doing it during connect

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Blocker - P1
    • None
    • Affects Version/s: legacy-1.0.0-rc0
    • Component/s: Implementation
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We shouldn't be calling isMaster during the DBClientConnection::_connect method:

      https://github.com/mongodb/mongo-cxx-driver/blob/legacy/src/mongo/client/dbclient.cpp#L1398

      We should populate server version specific values (like maxBsonObjectSize) upon the first request instead.

            Assignee:
            Unassigned
            Reporter:
            Tyler Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: