Skip to content

PYTHON-673: Ensure Evenlet greenthreads exit gracefully#716

Merged
aboudreault merged 1 commit into
masterfrom
python-673
Mar 16, 2017
Merged

PYTHON-673: Ensure Evenlet greenthreads exit gracefully#716
aboudreault merged 1 commit into
masterfrom
python-673

Conversation

@aboudreault
Copy link
Copy Markdown
Contributor

This fixes the socket issue with eventlet. Apparently, there are some cleanup not properly done when the greenthread don't exist gracefully. This is an issue with evenlet+python2 only. It doesn't happen with python 3.

@aboudreault aboudreault changed the title Ensure Evenlet greenthreads exit gracefully PYTHON-673: Ensure Evenlet greenthreads exit gracefully Mar 15, 2017
@mambocab
Copy link
Copy Markdown
Contributor

I'll finish reproducing this locally tomorrow, but in the meantime, I was wondering: do we know whether or not this can happen in the gevent reactor? It also uses greenlets, if I understand correctly, and I don't see this handled in that reactor.

@aboudreault
Copy link
Copy Markdown
Contributor Author

aboudreault commented Mar 15, 2017 via email

@mambocab
Copy link
Copy Markdown
Contributor

Looks great, works locally, I'm +1.

@aboudreault aboudreault merged commit 727389c into master Mar 16, 2017
@mambocab mambocab deleted the python-673 branch March 22, 2017 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants