1. 28 Jun, 2016 1 commit
  2. 27 Jun, 2016 6 commits
  3. 26 Jun, 2016 2 commits
    • Jim Fulton's avatar
      Awful hack to run the server multi-threaded · daca97cb
      Jim Fulton authored
      Because running it single-threaded was unstable, at least in the tests.
      
      See http://bugs.python.org/issue27392
      daca97cb
    • Jim Fulton's avatar
      Refactord the server to be single-threaded to make SSL work on Linux · da2e2281
      Jim Fulton authored
      SSL didn't work on Linux because of an incompatibility between
      non-blocking sockerts and SSL (which wasn't an issue on Mac OS X for
      some reason).
      
      I decided to try switching the server to use a single thread.  This
      led to a performance improvement for zodbshootout and a lower-level
      networking test.  I refactored the server listening logic and kept (at
      least for now) both the multi-threaded and the single-threaded
      version. (The multi-threaded logic can be used by changing a single
      import. Tests pass with both.).
      
      I'm a bit worried about the asyncio server. See
      
        http://bugs.python.org/issue27386
      
      Tests appear to be less stable using asyncio.server on my Mac. :(
      da2e2281
  4. 24 Jun, 2016 4 commits
  5. 23 Jun, 2016 1 commit
  6. 22 Jun, 2016 5 commits
  7. 21 Jun, 2016 1 commit
  8. 20 Jun, 2016 6 commits
  9. 19 Jun, 2016 2 commits
  10. 18 Jun, 2016 1 commit
  11. 17 Jun, 2016 3 commits
  12. 16 Jun, 2016 2 commits
  13. 15 Jun, 2016 5 commits
  14. 09 Jun, 2016 1 commit
    • Jim Fulton's avatar
      require the storage lock in lastTransaction. · 20f81caa
      Jim Fulton authored
      This is required (or maybe strongly implied) by the IStorage interface.
      
      Also, rearrange the order of operations in _process_invalidations.
      
      Each of these changes avoid a potential race when a connection starts
      a transaction while invalidateTransaction is being called. Basically,
      we don't want a connection to get a lastTransaction corresponding to
      invalidations it hasn't processed.
      
      This neither fixes nor provokes any test failures. :) The need for
      this change was discovered via code inspection. It's hard to see how
      to test the race without getting being insanely whitebox.
      20f81caa