Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expected result: tables and indexes are all dropped.


- Partial upgradeTBD

  • Upgrade to Honolulu
  • Drop a table that is to be altered in Istanbul
  • Upgrade to Istanbul

Expected result: script halts at the given table's upgrade script and updates the metadata table to indicate that it failed

  • Downgrade to Honolulu

Expected result: script skips the missing table and completes successfully (though it doesn't re-create the table)

  • Upgrade to Istanbul

Expected result: script halts at the given table's upgrade script and updates the metadata table to indicate that it failed

  • Manually recreate the table
  • Upgrade to Istanbul

Expected result: success


- Partial downgradeTBD

  • Upgrade to Istanbul
  • Drop a table that is to be altered in Honolulu
  • Downgrade to Honolulu

Expected result: script halts at the given table's upgrade script and updates the metadata table to indicate that it failed

  • Upgrade to Istanbul

Expected result: script skips the missing table and completes successfully (though it doesn't re-create the table)

  • Downgrade to Honolulu

Expected result: script halts at the given table's upgrade script and updates the metadata table to indicate that it failed

  • Manually recreate the table
  • Downgrade to Honolulu

Expected result: success


- Metadata database fails

...