1. 30 3月, 2012 1 次提交
  2. 28 3月, 2012 1 次提交
  3. 21 3月, 2012 1 次提交
  4. 04 3月, 2012 2 次提交
  5. 02 3月, 2012 1 次提交
  6. 28 2月, 2012 1 次提交
  7. 04 2月, 2012 1 次提交
  8. 19 1月, 2012 1 次提交
  9. 14 1月, 2012 1 次提交
  10. 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
  11. 14 12月, 2011 1 次提交
  12. 07 12月, 2011 1 次提交
  13. 06 12月, 2011 3 次提交
  14. 03 12月, 2011 1 次提交
  15. 02 12月, 2011 1 次提交
  16. 19 11月, 2011 1 次提交
  17. 16 9月, 2011 1 次提交
  18. 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
  19. 12 9月, 2011 1 次提交
  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 1 次提交
    • 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 1 次提交
  26. 31 5月, 2011 1 次提交
  27. 17 5月, 2011 3 次提交
  28. 03 2月, 2011 1 次提交
    • L
      In this commit, it has been added a timeout for the state transfer protocol,... · 1184efc9
      liquidsnake@sapo.pt 提交于
      In this commit, it has been added a timeout for the state transfer protocol, and fixed an implementantion error regarding f + 1 state hashes consistent amoung them, and a complete state inconsistent with those ashes.
      
      It was also fixed a bug that would crash clients when a a reconfiguration was applied, and also fixed 2 bugs related to the checkpoints, which  would make replicas crash.
      
      Finally, there are also some lines of code that have been slightly modified, but which shouls not affect the behavior of SMaRt.
      1184efc9
  29. 04 12月, 2010 1 次提交
  30. 27 11月, 2010 1 次提交
  31. 10 11月, 2010 1 次提交
  32. 08 10月, 2010 1 次提交
  33. 08 5月, 2010 1 次提交
    • C
      Centralized serialization code to BatchBuilder and BatchReader classes · 61a20674
      ChaosguardX 提交于
      Nonces are now generated for each TOMMessage in a Batch with a single seed that is sent along with the batch instead of a fixed number of nonces per Batch.
      Decided notification in Consensus.java now is done via a sync monitor instead of busy waiting on the decided value to be set. Because of the Java MemoryModel the former mechanism was problematic and could theoretically lead to the DeliveryThread never learning the new value - which is very unlikely though.
      61a20674
  34. 24 3月, 2010 1 次提交