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

Network Partition Failover Scenario - Connection pool locks system for max of 55 sec every 10 secs

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.4.6
    • Component/s: Internal Client
    • Environment:
      CentOS 6/64 bit. Mongo binaries from EPEL repo
    • Linux
    • Hide
      • install and setup 3 or more mongod servers in a replicaset
      • setup read preference tags so queries can be controlled to specific servers
      • take one server and disconnect it from all others. e.g. myhost.example.org
      • write a tool in c++ that :
      • uses a ScopedDbConnection to connect mongo cluster
      • perform one or more read-only queries that uses read preference tags to select myhost.example.org
      • exits
      • run tool
        ./dbtest1 myreplset/myhost.mydomain
      Show
      install and setup 3 or more mongod servers in a replicaset setup read preference tags so queries can be controlled to specific servers take one server and disconnect it from all others. e.g. myhost.example.org write a tool in c++ that : uses a ScopedDbConnection to connect mongo cluster perform one or more read-only queries that uses read preference tags to select myhost.example.org exits run tool ./dbtest1 myreplset/myhost.mydomain

      If a mongod server has been disconnected from other servers, applications using the C++ driver to mongod server could experience as much as 55 seconds of delay every 10 seconds of connectivity.

      Issue details discussed on forum
      https://groups.google.com/forum/#!topic/mongodb-user/3roJxyGO2Wc

        1. DbTest.java
          0.7 kB
          Douglas Hubler
        2. partition-hang-issue.cpp
          1 kB
          Douglas Hubler
        3. partition-hang-issue.log
          49 kB
          Douglas Hubler

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            dhubler Douglas Hubler
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: