You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had made a couple other fixes when I played with bumping to 1.0, check eae84f3 (in kazoobump branch). I think the key difference is that from 1.0, each KazooClient leaks a pipe filehandle unless you call close().
He @labisso, I tried that patch, but it seems like maybe there's some problem there? When I include it, that close method fails:
Traceback (most recent call last):
File "/Users/patricka/ooi/epu/epu/processdispatcher/test/test_processdispatcher_service.py", line 76, in tearDown
self.teardown_store()
File "/Users/patricka/ooi/epu/epu/processdispatcher/test/test_processdispatcher_service.py", line 1701, in teardown_store
self.store.shutdown()
File "/Users/patricka/ooi/epu/epu/processdispatcher/store.py", line 829, in shutdown
self.kazoo.close()
File "/Users/patricka/.virtualenvs/epunewkazoo/lib/python2.7/site-packages/kazoo-1.1-py2.7.egg/kazoo/client.py", line 485, in close
self._connection.close()
File "/Users/patricka/.virtualenvs/epunewkazoo/lib/python2.7/site-packages/kazoo-1.1-py2.7.egg/kazoo/protocol/connection.py", line 177, in close
os.close(self._write_pipe)
TypeError: an integer is required
Seems like that error is what happens when you call close() on a client that has not been start()ed. I don't remember having that problem (but maybe that is why I called the commit a WIP). Maybe something has changed?
Seems like that error is what happens when you call close() on a client that has not been start()ed. I don't remember having that problem (but maybe that is why I called the commit a WIP). Maybe something has changed?
—
Reply to this email directly or view it on GitHub.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.