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

After 101 iterations cursor freezes (pure python)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.0.1
    • 2.1
    • None
    • Ubuntu, CPython 2.7.1 / PyPy 1.6

    Description

      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!

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: