[Checkins] [zopefoundation/ZEO] e2e9e5: Updated for transaction buffer changes

GitHub noreply at github.com
Thu May 26 21:04:14 CEST 2016


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

  Changed paths:
    M src/ZEO/tests/testTransactionBuffer.py

  Log Message:
  -----------
  Updated for transaction buffer changes

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.


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

  Changed paths:
    M src/ZEO/tests/test_cache.py

  Log Message:
  -----------
  The cache is no-longer required to be thread safe.

Because it's only accessed by the asyncio thread.


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

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

  Log Message:
  -----------
  Fixed: on lost connections, pending futures weren't completed with ClientDisconected errors.

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.


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

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

  Log Message:
  -----------
  If we time out on call (or initial connect) because we're disconnected, raiser ClientDisconnected.


  Commit: 6134baabc6c4ac923f6e9413cfb2e0759b761796
      https://github.com/zopefoundation/ZEO/commit/6134baabc6c4ac923f6e9413cfb2e0759b761796
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-05-26 (Thu, 26 May 2016)

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

  Log Message:
  -----------
  Fixed read-only fallback.

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.


  Commit: 1cc3ceb5bd32d3452d3507c117552c736318ad4e
      https://github.com/zopefoundation/ZEO/commit/1cc3ceb5bd32d3452d3507c117552c736318ad4e
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M src/ZEO/asyncio/testing.py

  Log Message:
  -----------
  Added a base class for creating asyncion API stubs


  Commit: 01d7417316b8feeaaa3b3bab8e3bef17be5bf94b
      https://github.com/zopefoundation/ZEO/commit/01d7417316b8feeaaa3b3bab8e3bef17be5bf94b
  Author: Jim Fulton <jim at zope.com>
  Date:   2016-05-26 (Thu, 26 May 2016)

  Changed paths:
    M src/ZEO/ClientStorage.py
    M src/ZEO/tests/ConnectionTests.py
    M src/ZEO/tests/testConversionSupport.py

  Log Message:
  -----------
  Fixed more tests


Compare: https://github.com/zopefoundation/ZEO/compare/cc333941473e...01d7417316b8


More information about the checkins mailing list