Change in ovirt-engine[master]: db: Rename command_entities.status from FAILED_RESTARTED

laravot at redhat.com laravot at redhat.com
Thu Mar 3 16:38:09 UTC 2016


Liron Aravot has submitted this change and it was merged.

Change subject: db: Rename command_entities.status from FAILED_RESTARTED
......................................................................


db: Rename command_entities.status from FAILED_RESTARTED

The enum name for CommandStatus.FAILED_RESTARTED was changed to
EXECUTION_FAILED to better reflect its new usage in commit
72462294bfbae0b87be541fcbbef09773ff030bd.

Because the enum value is stored as a string in the command_entities
table, any command entity records present with the old status name
need to be updated to use the new name to prevent failure when the
CommandEntity DAO attempts to retrieve them.

Change-Id: I8b513fe6ace325e732fb6a5961a4354068d21964
Signed-off-by: Greg Padgett <gpadgett at redhat.com>
---
A packaging/dbscripts/upgrade/04_00_0270_rename_command_entity_failed_restarted.sql
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Greg Padgett: Verified
  Liron Aravot: Looks good to me, approved; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/53554
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8b513fe6ace325e732fb6a5961a4354068d21964
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Greg Padgett <gpadgett at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liron Aravot <laravot at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list