Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1114

Python client crashes when using asyncio if event loop is closed

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.10, 3.1.0
    • 3.1.3
    • library
    • None
    • 1

    Description

      When using the asyncio client, if the event loop is closed the client will crash (possible seg fault, possible InvalidStateError).  This behavior can be seen when using pytest or a simple script and terminating w/ ctrl-c. 

       

      Need to look into how the event loop is shared/passed with LCB.  Also need to make sure the asyncio client can play nicely with other libraries (fastAPI comes to mind).

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            jared.casey Jared Casey added a comment -

            Will be fixed once PYCBC-1127 is complete.

            jared.casey Jared Casey added a comment - Will be fixed once PYCBC-1127 is complete.

            People

              jared.casey Jared Casey
              jared.casey Jared Casey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty