Jeff Boone
Jeff Boone
I tried this on both OS X and Ubuntu 14.04 and in both cases I got the expected client exception: ``` >>> import aerospike >>> cfg = {"hosts": [("10.0.17.4", 300)]}...
Can someone provide details on what is failing when using the 2.0.12 Python client with gevent?
Thanks for doing this. Your PR will be incorporated into the 2.0.4 release.
There is no difference in the Python client GIL handling for `concurrent=True` vs. False. The difference is how the underlying C client handles the call. For `concurrent=True`, the C client...
The callback goes from the C client -> Python client -> user code. Returning `false` from the user callback should halt the scan.
The Python client releases the GIL before calling the C client and then reacquires it in the callback from the C client before calling into user code. Yeah, I was...
Line 153 releases the GIL: `PyThreadState * _save = PyEval_SaveThread();` I will be looking at this along with the `fork()` issue today. These a both somewhat complex interactions between the...
Thanks for all the info and the sample code. Yes, the client creates threads, and in this case the C client hangs waiting for the thread to complete. I'm still...
Another option is to move the `client.connect()` call to after the `fork()`.
OK. I found out what is happening and this is not a Python specific issue. It has to do with forking and the C client's worker thread pool. `client.connect()` :...