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

Hang when calling conn.database_names() during initialSyncOplogApplication

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Environment:
      pymongo-1.9-py2.4-linux-x86_64.egg

      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

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            boxedice David Mytton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: