1. 27 1月, 2012 1 次提交
  2. 04 1月, 2012 1 次提交
    • 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
  3. 14 12月, 2011 1 次提交
  4. 08 12月, 2011 2 次提交
  5. 07 12月, 2011 1 次提交
  6. 06 12月, 2011 2 次提交
  7. 02 12月, 2011 1 次提交
  8. 19 11月, 2011 1 次提交
  9. 16 9月, 2011 1 次提交
  10. 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
  11. 05 9月, 2011 1 次提交
  12. 03 9月, 2011 1 次提交
  13. 02 9月, 2011 3 次提交
  14. 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
  15. 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
  16. 07 7月, 2011 1 次提交
  17. 25 6月, 2011 1 次提交
  18. 31 5月, 2011 1 次提交
  19. 18 5月, 2011 1 次提交
  20. 17 5月, 2011 1 次提交
  21. 13 5月, 2011 1 次提交
  22. 18 4月, 2011 1 次提交
  23. 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
  24. 04 12月, 2010 1 次提交
  25. 19 11月, 2010 1 次提交
    • L
      Removed out of context thread. The processing out of context messages is now... · 805185b5
      liquidsnake@sapo.pt 提交于
      Removed out of context thread. The processing out of context messages is now made at the delivery thread and Server CS thread
      Removed paxos internal timers.  From now on, the external timers from the total ordering layer shall trigger the leader change
      Added a few debugging messages for delivering messages
      Fixed a bug related to signatures of forwarded messages from replicas to the leader
      Fixed a bug on the TTP that would make it crash in some cases
      Fixed 2 bugs on the state transfer protocol responsable for not letting the old leader fetch the state once it recovered
      805185b5
  26. 08 10月, 2010 1 次提交
  27. 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
  28. 24 3月, 2010 1 次提交
  29. 11 3月, 2010 1 次提交
  30. 04 3月, 2010 1 次提交
  31. 25 2月, 2010 1 次提交
    • L
      In this commit, I continued to work on the state transfer protocol.I finally... · 951602fc
      liquidsnake@sapo.pt 提交于
      In this commit, I continued to work on the state transfer protocol.I finally tested the protocol in the case of a crash of a replica. I was able to make the replica recover the state on those circunstances.  However, the replica will still only requests the state after it passes the highmark value. I started working on an optimization to request the state before it reaches that highmark, but its still not completed.
      951602fc
  32. 17 2月, 2010 1 次提交
  33. 15 2月, 2010 1 次提交
  34. 09 2月, 2010 1 次提交
  35. 08 2月, 2010 1 次提交