1. 24 Apr, 2017 2 commits
  2. 19 Apr, 2017 2 commits
  3. 18 Apr, 2017 4 commits
  4. 13 Apr, 2017 1 commit
  5. 04 Apr, 2017 1 commit
  6. 31 Mar, 2017 14 commits
  7. 30 Mar, 2017 1 commit
  8. 23 Mar, 2017 9 commits
  9. 22 Mar, 2017 1 commit
  10. 21 Mar, 2017 1 commit
  11. 20 Mar, 2017 2 commits
  12. 18 Mar, 2017 1 commit
    • Julien Muchembled's avatar
      master: fix crash when a transaction begins while a storage node starts operation · 781b4eb5
      Julien Muchembled authored
      Traceback (most recent call last):
        ...
        File "neo/lib/handler.py", line 72, in dispatch
          method(conn, *args, **kw)
        File "neo/master/handlers/client.py", line 70, in askFinishTransaction
          conn.getPeerId(),
        File "neo/master/transactions.py", line 387, in prepare
          assert node_list, (ready, failed)
      AssertionError: (set([]), frozenset([]))
      
      Master log leading to the crash:
        PACKET    #0x0009 StartOperation                 > S1
        PACKET    #0x0004 BeginTransaction               < C1
        DEBUG     Begin <...>
        PACKET    #0x0004 AnswerBeginTransaction         > C1
        PACKET    #0x0001 NotifyReady                    < S1
      
      It was wrong to process BeginTransaction before receiving NotifyReady.
      
      The changes in the storage are cosmetics: the 'ready' attribute has become
      redundant with 'operational'.
      781b4eb5
  13. 17 Mar, 2017 1 commit