[Checkins] [zopefoundation/ZEO] b6ec0e: Added protocol negotiation and test fixes

GitHub noreply at github.com
Wed May 25 00:59:41 CEST 2016


  Branch: refs/heads/asyncio
  Home:   https://github.com/zopefoundation/ZEO
  Commit: b6ec0ecab67181327942539a3bcb81caaa1867bd
      https://github.com/zopefoundation/ZEO/commit/b6ec0ecab67181327942539a3bcb81caaa1867bd
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/ZEO/asyncio/client.py
    M src/ZEO/asyncio/tests.py

  Log Message:
  -----------
  Added protocol negotiation and test fixes


  Commit: bdbc36dd929d8dcb37041fefc3e175aec4d9a919
      https://github.com/zopefoundation/ZEO/commit/bdbc36dd929d8dcb37041fefc3e175aec4d9a919
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-05-21 (Sat, 21 May 2016)

  Changed paths:
    M src/ZEO/asyncio/client.py
    M src/ZEO/asyncio/tests.py

  Log Message:
  -----------
  Async changes:

- 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


  Commit: 3f31236b2f725965ca095574d2d64b7467fdf175
      https://github.com/zopefoundation/ZEO/commit/3f31236b2f725965ca095574d2d64b7467fdf175
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-05-24 (Tue, 24 May 2016)

  Changed paths:
    M setup.py
    M src/ZEO/ClientStorage.py
    M src/ZEO/Exceptions.py
    R src/ZEO/ServerStub.py
    M src/ZEO/StorageServer.py
    M src/ZEO/TransactionBuffer.py
    M src/ZEO/asyncio/client.py
    M src/ZEO/asyncio/testing.py
    M src/ZEO/tests/CommitLockTests.py
    M src/ZEO/tests/ConnectionTests.py
    M src/ZEO/tests/IterationTests.py
    M src/ZEO/tests/ThreadTests.py
    R src/ZEO/tests/auth_plaintext.py
    R src/ZEO/tests/testAuth.py
    M src/ZEO/tests/testZEO.py
    M src/ZEO/tests/zeoserver.py

  Log Message:
  -----------
  Checkpointing....

Many tests passing. Quite a few still failing.


Compare: https://github.com/zopefoundation/ZEO/compare/7e5b78fcfc96...3f31236b2f72


More information about the checkins mailing list