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

Node crashes on _remove_stashed_checkpoints

    XMLWordPrintable

Details

    • Bug
    • Status: Complete
    • Medium
    • Resolution: Done
    • None
    • 1.6
    • None
    • EV 18.13 Benchmark hardening

    Description

      During load tests there were several cases of node crash:

      File "/usr/local/lib/python3.5/dist-packages/plenum/server/node.py", line 1880, in allLedgersCaughtUp
          replica.caught_up_till_3pc(last_caught_up_3PC)
      File "/usr/local/lib/python3.5/dist-packages/plenum/server/replica.py", line 2497, in caught_up_till_3pc
          self._remove_stashed_checkpoints(till_3pc_key=last_caught_up_3PC)
      File "/usr/local/lib/python3.5/dist-packages/plenum/server/replica.py", line 2586, in _remove_stashed_checkpoints
          del self.stashedRecvdCheckpoints[self.viewNo][(s, e)]
      KeyError: 28
      

      This bug was quick patched, but it seems that original code had typos, so further analysis is recommended, probably spivachuk can help here.

      Attachments

        Activity

          People

            VladimirWork Vladimir Shishkin
            sergey.khoroshavin Sergey Khoroshavin
            Nikita Spivachuk, Sergey Khoroshavin, Vladimir Shishkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: