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
    • Resolution: Fixed
    • Major
    • 3.1.3
    • 3.0.10, 3.1.0
    • 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

          Activity

            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:

                PagerDuty