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

An upgrade should be idempotent

    XMLWordPrintable

Details

    • Story
    • Status: Complete
    • Medium
    • Resolution: Done
    • None
    • None
    • None
    • M1 Prelude

    Description

      An upgrade is idempotent. A txn to upgrade to version 5 should be allowed even if an earlier upgrade to v.5 has gone through. Given four nodes, if three are at v.5 and one is at v.4, then the one at v.4 will be upgraded. When it comes time for a particular node to upgrade, and it's already at v.5, it doesn't do anything.

      lovesh [9:27 AM]
      We partially have "An upgrade is idempotent", i say partially since node on upgrade can run an additional script, we need to ensure changes done as part of the script are idempotent, we need a test which before any pool upgrade is sent applies the upgrade twice on each node and verifies the update to be idempotent.

      Attachments

        Issue Links

          Activity

            People

              danielhardman Daniel Hardman
              dsurnin Dmitry Surnin
              Andrey Goncharov, Dmitry Surnin, Vladimir Shishkin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified