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

[POOL_UPGRADE] More earlier pool_upgrade was not happened when there were scheduled upgrade to future date.

    XMLWordPrintable

Details

    • Bug
    • Status: Complete
    • Low
    • Resolution: Done
    • None
    • None
    • None
    • 14, INDY 17.21, INDY 17.22, INDY 17.23

    Description

      Steps to Reproduce:
      1. Send POOL_UPGRADE command for all nodes to 13:00.

      send POOL_UPGRADE name=upgrade-oz1 version=1.0.69 sha256=f6f2ea8f45d8a057c9566a33f99474da2e5c6a6604d736121650e2730c6fb0a3 action=start schedule={'Gw6pDLhcBcoQesN72qfotTgFa7cbuqZpkX3Xo6pLhPhv': '2017-08-02T13:00:00.000000+00:00', '8ECVSk179mjsjKRLWiQtssMLgp6EPhWXtaYyStWPSGAb': '2017-08-02T13:05:00.000000+00:00', 'DKVxG2fXXTU8yT5N7hGEbXB3dfdAnYv1JczDUHpmDxya': '2017-08-02T13:10:00.000000+00:00', '4PS3EDQ3dW1tci1Bp6543CfuuebjFrg36kLAUcskGfaA': '2017-08-02T13:15:00.000000+00:00'} timeout=10

      2. Send POOL_UPGRADE command for some nodes (with Force flag) to 12:00.

      send POOL_UPGRADE name=upgrade-oz2 version=1.0.69 sha256=f6f2ea8f45d8a057c9566a33f99474da2e5c6a6604d736121650e2730c6fb0a3 action=start schedule={'Gw6pDLhcBcoQesN72qfotTgFa7cbuqZpkX3Xo6pLhPhv': '2017-08-02T12:00:00.000000+00:00', '8ECVSk179mjsjKRLWiQtssMLgp6EPhWXtaYyStWPSGAb': '2017-08-02T12:05:00.000000+00:00'} timeout=10 force=True

       

      Actual Results:
      The first upgrade (13:00) is written to upgrade_log and it happen in accordance with the schedule. The second upgrade (12:00) was not written to upgrade log and was not happened.

      Expected Results:
      The second upgrade (12:00) should be written to upgrade_log and should happen before the first (13:00) upgrade.

      Additional information:
      Both of POOL_UPGRADE commands were send at about 2017-08-02T11:00:00.000000+00:00

      Attachments

        Issue Links

          Activity

            People

              VladimirWork Vladimir Shishkin
              ozheregelya Olga Zheregelya
              Nikita Spivachuk, Olga Zheregelya, Vladimir Shishkin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: