- 01 Jun, 2016 2 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
If a protocol was disconnected while registering, maybe because the server was still starting, the disconnection was handled correctly by the Client, because the protocol attribute wasn't set, the connection wasn't retried.
-
- 31 May, 2016 3 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
- 30 May, 2016 5 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
To turn on debug logging. A lot of interesting information helpful when debugging network-implementation issues is logged (because threads).
-
Jim Fulton authored
These errors were actually hidden by the test, but were annoying when debug logging was enabled.
-
Jim Fulton authored
-
Jim Fulton authored
In ZEO.asyncio.client.Protocol.data_received, the logic was broken if there we unhandled errors, for example in calling client storage methods.
-
- 29 May, 2016 6 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
Because normally the tests are much less patient than real life.
-
Jim Fulton authored
Some test timeouts are very low to make the tests go less slow, but sometimes we need to wait longer.
-
Jim Fulton authored
Timeout default was False, which must have resulted from an editing error, but we failed to pass it through where it was needed anyway. Fixed now.
-
Jim Fulton authored
-
Jim Fulton authored
When changing addresses (think ZooKeeper :) ), we needed to be more careful about current connection status. If we're still trying to connect, we should stop and start over with the new addresses.
-
- 27 May, 2016 7 commits
-
-
Jim Fulton authored
And also, we no longer do old-style cache verification.
-
Jim Fulton authored
-
Jim Fulton authored
We'll eventially deprecate the old zeo configuration, as it's implemented in the wrong package. :) A new implementation will provide poll-interval, however, there's not much point in configuring that.
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
Need to check for None as data value.
-
- 26 May, 2016 11 commits
-
-
Jim Fulton authored
-
Jim Fulton authored
And make waiting for reconnect a little easier.
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
-
Jim Fulton authored
We were sending lastTransaction requests while register requests were in-flight. If register failed, then the lastTransaction request was invalid, causing the connection to be closed. :( When we update the server, we'll have register return lastTransaction and probably info, since the client wants that information on connect.
-
Jim Fulton authored
-
Jim Fulton authored
To make matters worse, when the other site closes a connection, None is passed to protocol connection_lost methods, which was fouling up sornstream error detection.
-
Jim Fulton authored
Because it's only accessed by the asyncio thread.
-
Jim Fulton authored
Don't test obsolete method ``invalidate``. It's not used anymore in master and not present on this (asyncio) branch. Removed the reuable tests because transaction buffers are no-longer reused.
-
- 25 May, 2016 1 commit
-
-
Jim Fulton authored
- testZEO tests now pass - async tests now pass again Probably need to write more async tests to reflect changes. (Or maybe the ZEO tests that drove tem are enough.) - dropped heartbeat tests, which were insane. Will add simpler test when I add heartbeats to the async implementation.
-
- 24 May, 2016 1 commit
-
-
Jim Fulton authored
Many tests passing. Quite a few still failing.
-
- 21 May, 2016 1 commit
-
-
Jim Fulton authored
- Issue with notify_connected, ClientStorage wants to make requests in response to being notified. This is problematic because synchronsouse calls cause deadlock in this situation as do asyncronous calls done in a multi-threaded fashion. - Call get_info from io thread during startup, because notify_connected wants it. - Added an same-thread asyncronous API. - Added comment warning of this issue. - Added a little more logging. - fixed an ordering issue when protocol is disconnected. It should notify the client before it cleans up it's futures to prevent getting more. - Expose protocol_version to client so it can adjust it's behavior to the . - More logging
-
- 19 May, 2016 1 commit
-
-
Jim Fulton authored
-
- 18 May, 2016 2 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.
-