1. 18 Jan, 2011 2 commits
  2. 17 Jan, 2011 1 commit
  3. 11 Jan, 2011 9 commits
  4. 10 Jan, 2011 8 commits
  5. 06 Jan, 2011 6 commits
  6. 05 Jan, 2011 10 commits
  7. 29 Dec, 2010 3 commits
  8. 28 Dec, 2010 1 commit
    • Grégory Wisniewski's avatar
      Allow reconnect to a storage node when it was found not ready. · faf121b5
      Grégory Wisniewski authored
      This commit fix random issues found with functionnal tests where the client
      was refuse by the storage, because the latter was not fully initialized,
      but never tried to reconnect to it if no other storages were available.
      
      The main change introoduced is the availability of 'iterateForObject'
      method on ConnectionPool. It allow iterate over potential node connections
      for a given object id with the ability of waiting for the node to be ready
      if not. It includes the common pattern that retreive the cell list,
      randomize then sort them and never returns a None value, which suppose that
      the outer loop must check if at least one iteration happens, for example.
      
      Also included:
      - getPartitionTable is now private because the connection needs it
      - Deletion of _getCellListFor*
      - Fixed tests
      - New tests for ConnectionPool.iterateForObject
      
      git-svn-id: https://svn.erp5.org/repos/neo/trunk@2578 71dcc9de-d417-0410-9af5-da40c76e7ee4
      faf121b5