Uploaded image for project: 'Okapi'
  1. Okapi
  2. OKAPI-773

switch instance in "discovery" only if all modules installed/upgraded succesfully

    XMLWordPrintable

Details

    • CP: sprint 83, CP: sprint 84
    • 8
    • Core: Platform

    Description

      Note: this assumes that rollbacks in case of migration errrors in individual module databases are handled by the modules or by the devops.

      To ensure that a call to /install or /upgrade does not perform partial system update but only a complete one. Okapi will assume that the "init" on new instances, even if failed, is not destructive to the existing data and instances. It is orchestration's responsibility to assure this is the case.

      If any of the modules fail in upgrade, the whole operation will be dropped.
      Only if all modules succeed, the tenant will be switched to use the new set of modules and Okapi should report which modules failed and why.

      error reporting

      All individual tenant init errors should be relayed up to the client.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                adam Adam Dickmeiss (Inactive)
                jakub Jakub Skoczen
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases