[
https://issues.apache.org/jira/browse/AURORA-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zameer Manji updated AURORA-1648:
---------------------------------
Summary: Use of `dbScript` field and schema changes can cause crashes
(was: Use of `dbScript` )
> Use of `dbScript` field and schema changes can cause crashes
> ------------------------------------------------------------
>
> Key: AURORA-1648
> URL: https://issues.apache.org/jira/browse/AURORA-1648
> Project: Aurora
> Issue Type: Story
> Reporter: Zameer Manji
>
> Here is a sequence of steps that can lead of a crasher:
> 1. Deploy the scheduler and take a snapshot with the {{dbScript}} field
> populated.
> 2. Upgrade the scheduler with a new version which contains schema changes
> (such as [~joshua.cohen]'s recent change to store Docker and AppC image ids.
> 3. After upgrading, the scheduler will restore the schema of the in memory
> database from the {{dbScript}} field and not the built in schema. This means
> the table additions from the previous step will not exist.
> 4. Observe crashes as queries to the in memory database.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)