1. 29 Sep, 2011 1 commit
  2. 09 Sep, 2011 1 commit
  3. 03 Sep, 2011 1 commit
  4. 10 Jun, 2011 1 commit
    • Julien Muchembled's avatar
      Introduce light functional tests, using threads and serialized processing · 1ef149c2
      Julien Muchembled authored
      This allows to setup an almost fully functional cluster without additional
      processes. Threads are scheduled so that they never run simultaneously,
      eliminating most random.
      There's still much improvement possible like controlled randomization,
      or easier debugging when switching from one thread to another.
      
      As mock objects are not usable in such tests, an API should be implemented to
      trace/count any method call we'd like to check.
      
      This fixes test_notifyNodeInformation_checkUnregisterStorage
      
      git-svn-id: https://svn.erp5.org/repos/neo/trunk@2775 71dcc9de-d417-0410-9af5-da40c76e7ee4
      1ef149c2
  5. 27 May, 2011 1 commit
    • Julien Muchembled's avatar
      connection: reimplement timeout logic and redefine pings as a keep-alive feature · 737e227a
      Julien Muchembled authored
      - Previous implementation was not able to import transactions with many small
        objects, the client for faster to send a store request than to process its
        answer. If X is the difference of time for these 2 operations, the maximum
        number of objects a transaction could contain was CRITICAL_TIMEOUT / X.
        And HasLock feature can't act as a workaround because it is not working yet.
      - Change API of 'on_timeout', which currently only used by HasLock.
      - Stop pinging when we wait for an answer. This wastes resources and would
        never recover any bad state.
      - Make client connections send pings when they are idle instead.
        This implements keep-alive feature for high availability.
        Start with an non-configurable period of 60 seconds.
      - Move processing of ping/pong to handlers.
      
      git-svn-id: https://svn.erp5.org/repos/neo/trunk@2762 71dcc9de-d417-0410-9af5-da40c76e7ee4
      737e227a
  6. 02 May, 2011 1 commit
  7. 10 Jan, 2011 1 commit
  8. 16 Dec, 2010 1 commit
  9. 15 Dec, 2010 7 commits
  10. 08 Nov, 2010 1 commit
  11. 27 Oct, 2010 1 commit
  12. 01 Oct, 2010 12 commits
  13. 30 Sep, 2010 1 commit
  14. 23 Aug, 2010 1 commit
  15. 12 Jul, 2010 1 commit
  16. 04 Jun, 2010 1 commit
  17. 15 May, 2010 1 commit
  18. 19 Mar, 2010 1 commit
  19. 09 Mar, 2010 2 commits
  20. 08 Mar, 2010 3 commits