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

Node crashes on _remove_stashed_checkpoints

    Details

    • Type: Bug
    • Status: Complete
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Component/s: None
    • Labels:
    • Sprint:
      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 Nikita Spivachuk can help here.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: