Uploaded image for project: 'Apache MADlib'
  1. Apache MADlib
  2. MADLIB-1242

Make upgrade and install atomic operations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • v1.15
    • Upgrade
    • None

    Description

      Story

      As a madlib user
      I want to return to the prior release state if upgrade and install fails
      so that
      I am not in an unknown state that is partially upgraded/installed and partially not.

      Note

      Test for install, re-install, uninstall, and upgrade. i.e., all combinations

      Acceptance

      1) Prepare an upgrade that will fail from 1.x to 1.y
      2) Run madpack upgrade
      3) Upgrade fails
      4) Check that we are back in 1.x state with SELECT madlib.version();
      5) Similar test for install
      6) Run IC on 1.x to ensure it passes

      Attachments

        Activity

          People

            Unassigned Unassigned
            fmcquillan Frank McQuillan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: