need metadata upgrade option in installer

Bug #1413418 reported by Anoop Sharma
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Released
Medium
Unassigned

Bug Description

After software install, users need to do 'get version of metadata'.
If that shows that metadata need to be upgraded, then upgrade command need to be run.

If upgrade is needed, this will show up:
  Trafodion Conversational Interface 1.0.0
  (c) Copyright 2014 Hewlett-Packard Development Company, LP.
  >>get version of metadata;

    Current Version 2.3. Expected Version 3.0.
    Metadata need to be upgraded or reinitialized.

  --- SQL operation complete.
  >>

There are multiple ways in which upgrade can be done:

An upgrade option can be added to installer.
something like: --upgrade_trafodion
Users can manually issue that if get version command indicates
that upgrade is needed.
Internally, installer will issue:
  initialize trafodion, upgrade;
to upgrade metadata.

Or installer can automatically run 'get version of metadata' command
and return an indication that users should issue install with upgrade option
if get version commands indicate that. Users will then run installer with
upgrade option.

Or installer can automatically issue the upgrade command if it internally
detects that upgrade is needed.

Tags: installer
Revision history for this message
Marvin Anderson (marvin-anderson) wrote :

Installer handles doing trafodion upgrades

Changed in trafodion:
milestone: r1.1 → r1.0.1
status: New → Fix Committed
Changed in trafodion:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.