Juniper/contrail-controller — pull request #589 by arvindvis (2014-04-11 00:25:56+00:00)
Title: Bug: 2688

This bug deals with migrating data when upgrade happens. This fix
initially takes care of 1.03-1.04 data upgrade required. It moves the contents
of the old index table in 1.03 to the new index table in 1.04
Run over each row-key in the index table.Lookup for the flow info in the
FlowRecord table and insert the information in the new table. After
update, truncate the old tables.
The db-utils take oldversion as its argument and runs through a chain of
upgrade functions to move the data.
Verified with a script which tested that all the rowkeys in old version table were present in
new version table