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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: 2.4.6
    • Fix Version/s: None
    • Component/s: Internal Client
    • Environment:
      CentOS 6/64 bit. Mongo binaries from EPEL repo
    • Operating System:
      Linux
    • Steps To Reproduce:
      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

      Description

      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

        Attachments

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

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: