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

After 101 iterations cursor freezes (pure python)

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1
    • Affects Version/s: 2.0.1
    • Component/s: None
    • Environment:
      Ubuntu, CPython 2.7.1 / PyPy 1.6

      The following short snippet:

      for i, ad in enumerate(c.db.coll.find(fields=[])):
      logging.info('%d' % i)

      shows that after 101 iterations a freeze happens.

      CPython shows freeze for about 1-2 seconds and PyPy 1.6 freezes for several minutes!

            Assignee:
            bernie@mongodb.com Bernie Hackett
            Reporter:
            vak Valery Khamenya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: