Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-849

Pool can't be restored after losing consensus if at least one view change was happened

    Details

    • Type: Bug
    • Status: Complete
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Build Info:
        indy-node 1.1.37
        indy-anoncreds 1.1.10
        indy-plenum 1.1.27
        sovrin 1.1.6
      OS/Platform: Ubuntu 16.04.2 LTS
      Setup: 6 nodes, 1 client

    • Sprint:
      13, 14, 12, INDY 17.21, INDY 17.22

      Description

      Case 1:
      Steps to Reproduce:
      1. Set up the pool of 3 nodes.
      2. Make view change (i.e. restart primary node).
      3. Send transaction to make sure that pool works.
      4. Stop services on any node.
      5. Send NYM transaction.
      6. Start services on stopped node.
      7. Send NYM transaction.

      Actual Results:
      Transactions were not written, consensus was not reached.

      Expected Results:
      Pool should back to consensus.

       

      Case 2:
      Steps to Reproduce:
      1. Set up the pool of 3 nodes.
      2. Send NYM transaction.
      3. Stop services on not primary node.
      4. Send NYM transaction.
      5. Start services back on stopped node.
      6. Send NYM transaction.
      => 2 NTMs were written.
      7. Stop services on primary node.
      8. Send NYM transaction.
      9. Start stopped node.
      10. Send NYM transaction.
      => 2 transactions were written. View Change was happened, new primary node was chosen.
      11. Stop services on old primary node.
      12. Send NYM transaction.
      13. Start old primary back.

      Actual Results:
      Transactions were not written, consensus was not reached.

      Expected Results:
      Pool should back to consensus.

       

      Additional Information:
      The same problem is reproduces for pool of 6 nodes. Case with 3 nodes was described as the most simple.

        Attachments

        1. _node1.log
          8.61 MB
        2. _node1.txt
          39 kB
        3. _node2.log
          9 kB
        4. _node2.txt
          39 kB
        5. _node3.log
          9 kB
        6. _node3.txt
          5.82 MB
        7. _node4.txt
          70 kB
        8. consensus.PNG
          consensus.PNG
          227 kB
        9. Node1.log
          854 kB
        10. Node2.log
          806 kB
        11. Node3.log
          850 kB
        12. Screenshot__.PNG
          Screenshot__.PNG
          209 kB
        13. Screenshot_.PNG
          Screenshot_.PNG
          273 kB
        14. Screenshot.PNG
          Screenshot.PNG
          263 kB

          Issue Links

            Activity

              People

              • Assignee:
                nage Nathan George
                Reporter:
                ozheregelya Olga Zheregelya
                Watchers:
                Andrey Goncharov, Olga Zheregelya, Victor Muzychenko, Vladimir Shishkin
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: