Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-202

Hang when calling conn.database_names() during initialSyncOplogApplication

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      pymongo-1.9-py2.4-linux-x86_64.egg
    • # Replies:
      10
    • Last comment by Customer:
      false

      Description

      The client hangs when you call conn.database_names() whilst a replica set member is doing initialSyncOplogApplication

      >>> import pymongo
      >>> conn = pymongo.connection.Connection('localhost', 27018, slave_okay=True)
      >>> print conn.database_names()

      rs.status()
      ...

      { "_id" : 2, "name" : "rs3c:27018", "health" : 1, "state" : 3, "stateStr" : "RECOVERING", "self" : true }

      ,

      Log output:
      Fri Jan 28 14:58:00 [rs_sync] replSet initialSyncOplogApplication 5100000
      Fri Jan 28 14:58:23 [rs_sync] replSet initialSyncOplogApplication 5200000

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since reply:
                  6 years, 10 weeks, 2 days ago
                  Date of 1st Reply: