- 18 May, 2016 3 commits
-
-
Jim Fulton authored
- Fixed tpc_finish: - Use tid from server to update cache. - Accept and call callback function. - Implemented flow control - Added connection/disconnection notification (to client storage). - implemented get_peername. - implemented is_read_only - renamed callAsync to async (death to Camels!)
-
Jim Fulton authored
refinements (including spelling and considering allowing tpc_finish and loads to be in flight at once.
-
Jim Fulton authored
-
- 02 May, 2016 1 commit
-
-
Jim Fulton authored
Renamed connection_timeout to connect_poll and use it when reconnecting. Optimized hanfline of first messagem, as we did in zrpc, because it only occurs once. :) More/better comments. Move loop argument to front of constructor arguments. Added close/close_threadsafe to wait for connection on close. Added is_connected. Added new_addr.
-
- 17 Jan, 2016 3 commits
-
-
Jim Fulton authored
Also got rid of the adapter machinery. It didn't buy enough to justify the wrapping.
-
Jim Fulton authored
-
Jim Fulton authored
-
- 28 Dec, 2015 3 commits
-
-
Jim Fulton authored
- Moved cache into async thread to avoid lots of locking. - Setup delegation to storage. - Provide thread wrapper that runs the async protocol in a thread.
-
Jim Fulton authored
-
Jim Fulton authored
-
- 13 Dec, 2015 2 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
Much left to do, but this is a nice little spike.
-
- 05 Jun, 2015 3 commits
-
-
Tres Seaver authored
-
Tres Seaver authored
-
Tres Seaver authored
Add support for PyPy.
-
- 22 May, 2015 24 commits
-
-
Jason Madden authored
Let checkQuickVerificationWith2Clients use a longer timeaut and raise an assertion error if the timeout fails. Trying to debug intermittant failures on Travis, seen in all versions of Python.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Per @mgedmin, use a renormalizing pattern to fix the unicode string matchin in Python3. Also just print the data for the storage we expect, because the missing u prefixes change the spacing when pprint nests dicts and things don't match under Python2.
-
Jason Madden authored
Fix the ruok protocol under Python3: a bytes/unicode problem. However, the doctest cases still don't pass because they have leading u prefixes in them.
-
Jason Madden authored
One more place to account for the socket.error switchero on Python3. Still doesn't fix nagios/ruok though.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Make the nagios metrics come back in a deterministic order. This fixes the nagios test under PyPy, but they still fail under Python 3 for the same reason test_ruok does.
-
Jason Madden authored
test_ruok was hanging under Python3. Now it doesn't hang but just fails with 'struct.error: unpack requires a bytes object of length 4'
-
Jason Madden authored
Fix some test failures under Python3.3+. This loop can also raise a RuntimeError([Errno 9] Bad file descriptor), though, so not all are fixed. But this may be enough to fix the hang.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Try to remove use of virtualenv in .travis.yml; all the travis builds were running under Python 2.7.3 because of it.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
Make the virtualenv python report its version; seeing /usr/lib/python2.7 in the python2.6 traceback paths is making me nervous.
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
Jason Madden authored
-
- 20 May, 2015 1 commit
-
-
Jason Madden authored
- make the locked decorator easier to inline by not creating a new closure every time. - use builtin dicts instead of the pure-python BTrees (only under pypy) "Transaction", AFTER BEFORE "Add 3000 Objects", 10014 8777 "Update 3000 Objects", 12199 8805 "Read 3000 Warm Objects", 4294 3699 "Read 3000 Cold Objects", 4264 3676 "Read 3000 Hot Objects", 79764 58732 "Read 3000 Steamin' Objects", 2667283 2574508
-