1. 27 1月, 2012 1 次提交
  2. 19 1月, 2012 1 次提交
  3. 14 1月, 2012 1 次提交
  4. 09 1月, 2012 1 次提交
    • M
      Added changes from João Félix: · 90ebd9de
      marcelmhs@gmail.com 提交于
       - ServiceReplica.receiveMessages() is now implementing the code for batch message processing;
       - BatchExecutable.executeBatch() signature was changed to has an array of MessageContext as parameter.
      90ebd9de
  5. 04 1月, 2012 2 次提交
    • L
      Fixed a bug on the leader change protocol that would block all replicas if the... · b3e67b0f
      liquidsnake@sapo.pt 提交于
      Fixed a bug on the leader change protocol that would block all replicas if the delayed replica triggered again a leader change before the others finished the same protocol.
      
      Identified a bug on the method "send" of class NettyClientServerCommunicationSystemServerSide, but its cause remains misterious: if invoked 2 times for the same message (why it sometimes is invoked 2 times for the same message is not known), the client may not receive a reply on its end, and if no sufficent replies are received, the client blocks. If locks are used in this method, the problem seems to disappear.
      
      Removed various locks from the leader change protocol which were rendered useless in previous commits.
      
      The Proposed thread now  unlocks by this order: I am the leader -> the consensus as finished  -> I have message to order 
      b3e67b0f
    • M
      Changed Executable interface tree. · 72b3bbf6
      marcelmhs@gmail.com 提交于
      Now Executable is the top class. It has the executeUnordered method, as all executables can process readonly messages.
      There are two classes extending Executable.
      SingleExecutable has the executeOrdered method to process a sigle command.
      BatchExecutable has the executeBatch to process multiple commands.
      BatchExecutable was also changed to have a matrix of bytes as parameter, corresponding to an array of commands, having an array of bytes.
      Demo classes was changed to use the new Executable structure.
      ServiceReplica was also changed.
      72b3bbf6
  6. 14 12月, 2011 2 次提交
  7. 13 12月, 2011 1 次提交
    • L
      Fixed a bug on the state transfer protocol. It will now longer abort if the... · 9961ae8c
      liquidsnake@sapo.pt 提交于
      Fixed a bug on the state transfer protocol. It will now longer abort if the replica which should send the complete state remains mute; instead, it will re-initialize the protocol. This way, the system will no longer freeze when trying to add a replica to the group while the original leader is down (because there are not enough replicas to have a quorum during the first phase of the consensus algorithm).
      
      Also done a minor change in the implementation: upon a timeout, the computations will be passed to the CS thread, in a similar way in which is done with the leader change protocol.
      
      Some refractoring was also done.
      9961ae8c
  8. 08 12月, 2011 2 次提交
  9. 07 12月, 2011 1 次提交
  10. 06 12月, 2011 4 次提交
  11. 03 12月, 2011 1 次提交
  12. 02 12月, 2011 1 次提交
  13. 19 11月, 2011 1 次提交
  14. 16 9月, 2011 1 次提交
  15. 15 9月, 2011 1 次提交
    • L
      Fixed some bugs in the leader change (although it still needs plenty of work,... · b5ea4c6b
      liquidsnake@sapo.pt 提交于
      Fixed some bugs in the leader change (although it still needs plenty of work, specially when re-integrating the replica).
      
      Fixed a bug related to read only requests. Moved RadomDemo to a dedicated package.
      
      State transfer protocol can now notify the recovered replica about the most recente view. 
      
      Added apache codecs do deal with base64 encode/decode.
      b5ea4c6b
  16. 12 9月, 2011 1 次提交
  17. 05 9月, 2011 1 次提交
  18. 03 9月, 2011 1 次提交
  19. 02 9月, 2011 3 次提交
  20. 01 9月, 2011 1 次提交
    • B
      Another huge update! · 53fdcd13
      bessani@gmail.com 提交于
      Removed and refactored a lot of code, added new microbenchmarks and improved the parallelism between the delivery thread and server communication thread. Additionally, processing of out of context message changed a bit (done in the server communication thread, instead of the delivery thread).
      IMPORTANT: Service replica API changed!!!
      NOTE: currently achieving a zero-byte throughput of 151Kops/sec ;-)
      53fdcd13
  21. 23 8月, 2011 2 次提交
    • B
      small update · 2af47a9f
      bessani@gmail.com 提交于
      2af47a9f
    • B
      HUGE UPDATE!!! · 65de0915
      bessani@gmail.com 提交于
      - Improvements on the performance of communication system
      - big clean up of the code (many old methods deleted)
      - corrected bug in out of context (now, a consensus is only started if a propose is received)
      Note: still need to verify if state transfer and leader change works right
      65de0915
  22. 07 7月, 2011 1 次提交
  23. 25 6月, 2011 1 次提交
  24. 23 6月, 2011 1 次提交
  25. 12 6月, 2011 2 次提交
  26. 07 6月, 2011 1 次提交
  27. 31 5月, 2011 1 次提交
  28. 19 5月, 2011 1 次提交
  29. 18 5月, 2011 2 次提交