Uploaded image for project: 'Corda'
  1. CORDA-1477

Add in a safety check that catches flow checkpoints from older versions

    Details

    • Type: Story
    • Status: Done (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects versions: None
    • Fix versions: Corda 3.3
    • Components: None
    • Labels:
      None
    • Feature Team:
      Corda Core
    • Story Points:
      13
    • Sprint:

      Description

      If you forget to drain your node and then upgrade it, you might get arbitrary crashes as we try to deserialise checkpoints onto bytecode that has changed.

      We should add some columns to the checkpoint table and refuse to start up if our platform version != the platform version that created the checkpoint.

      We should also record the JAR hash of the app that created the flows and if that changed, refuse to start up as well until the user has downgraded, re-run the node, drained, and then can reattempt.

        Attachments

          Activity

            People

            • Assignee:
              Tudor.Malene Tudor Malene
              Reporter:
              mike Mike Hearn
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: