Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2068

mongocxx::pool mongos failover

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor - P4
    • Resolution: Works as Designed
    • 1.5.2
    • None
    • network
    • Windows 7 x64, Visual Studio 2015

    Description

      We have shard cluster with 3 mongos instances for failover purposes. All mongos in future, will be distributed on different hosts (now they running on same host with different ports for test purposes).
      The failover needed for backup network channels between client app and mongos. For this purpose, we provide all mongos addreses in mongocxx::uri and then pass it to mongocxx::pool.
      Now, we see so mongocxx::pool does not failover to another mongos if we shutdown first (for example).
      But mongocxx::client does it well (failover to different mongos).

      Does this behaviour is correct or maybe we need to additional setup mongocxx::pool environment for the mongos failover?

      Attachments

        1. test.cpp
          3 kB
          Aleksander Melnikov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alm Aleksander Melnikov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: