)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"85aa0c81beffee574022250993e2008c4dea7f43","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Philip Schwartz \u003cphilip.schwartz@rackspace.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-06-15 15:14:05 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Added documentation around datanase upgrades"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Listed the current process for upgrading the Nova database to allow for"},{"line_number":10,"context_line":"better understanding of what will be changing."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"fa32b979_23325011","line":7,"updated":"2015-06-15 19:22:50.000000000","message":"s/datanase/database/ (femtonit)","commit_id":"9b0bc98e8ed07c7d746f4dbf74eeed5fc814e435"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"6ea8157cffbb51a3bf0547b80f8a85b4b43c6dfb","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Philip Schwartz \u003cphilip.schwartz@rackspace.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-06-16 00:44:59 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Added documentation around datanase upgrades"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Listed the current process for upgrading the Nova database to allow for"},{"line_number":10,"context_line":"better understanding of what will be changing."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"fa32b979_bc9c25c1","line":7,"updated":"2015-06-16 10:47:14.000000000","message":"datanase \u003d\u003e database","commit_id":"99bb7934da26c9d606a745860ef0a96c91eba0d5"}],"doc/source/upgrade.rst":[{"author":{"_account_id":5441,"name":"Andrew Laski","email":"andrew@lascii.com","username":"alaski"},"change_message_id":"b1378be67948051be37415195a6a2ca3c5e8476f","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"3. Online data migrations from inside Nova object source code."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"The first of these online data migrations were added with the flavor migration and are located in nova/objects/instance.py and is a special case as there was no required schema reductions for this to work."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"Concepts"}],"source_content_type":"text/x-rst","patch_set":1,"id":"fa32b979_20324611","line":44,"range":{"start_line":44,"start_character":0,"end_line":44,"end_character":142},"updated":"2015-06-15 18:58:58.000000000","message":"I don\u0027t believe the flavor migration was a special case.  Not every data migration needs to be associated with a schema change.  There are a few examples of data migrations in the sqlalchemy-migrate migrations.","commit_id":"0609a035fd9273ce225834fedd522c0214c28a52"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"85aa0c81beffee574022250993e2008c4dea7f43","unresolved":false,"context_lines":[{"line_number":33,"context_line":"Current Database Upgrade Process"},{"line_number":34,"context_line":"--------------------------------"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Currently Nova has 3 steps for upgrading its database."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"1. Offline database schema migrations from pre-defined migrations in"},{"line_number":39,"context_line":"   nova/db/sqlalchemy/migrate_repo/versions."}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_a30d0040","line":36,"updated":"2015-06-15 19:22:50.000000000","message":"Three steps?  The list reads like it\u0027s 3 types of database upgrades.  I could be misinterpreting, though…","commit_id":"9b0bc98e8ed07c7d746f4dbf74eeed5fc814e435"},{"author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"change_message_id":"85aa0c81beffee574022250993e2008c4dea7f43","unresolved":false,"context_lines":[{"line_number":39,"context_line":"   nova/db/sqlalchemy/migrate_repo/versions."},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"2. Offline data migrations also from pre-defined migrations in"},{"line_number":42,"context_line":"   nova/db/sqlalchemy/migrate_\\repo/versions."},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"3. Online data migrations from inside Nova object source code."},{"line_number":45,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"fa32b979_4e03fb0d","line":42,"updated":"2015-06-15 19:22:50.000000000","message":"I think the backslash must be intended to quote the underscore rather than the \u0027r\u0027…","commit_id":"9b0bc98e8ed07c7d746f4dbf74eeed5fc814e435"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"6ea8157cffbb51a3bf0547b80f8a85b4b43c6dfb","unresolved":false,"context_lines":[{"line_number":39,"context_line":"#. Online Migrations"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Offline Migrations consit of:"},{"line_number":43,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    #. Database schema migrations from pre-defined migrations in"}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa32b979_9ca921e2","line":42,"updated":"2015-06-16 10:47:14.000000000","message":"consit \u003d\u003e consist","commit_id":"99bb7934da26c9d606a745860ef0a96c91eba0d5"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"6ea8157cffbb51a3bf0547b80f8a85b4b43c6dfb","unresolved":false,"context_lines":[{"line_number":49,"context_line":"       nova/db/sqlalchemy/migrate_repo/versions."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Online Migrations consit of:"},{"line_number":53,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"    #. Online data migrations from inside Nova object source code."}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa32b979_3c9815c0","line":52,"updated":"2015-06-16 10:47:14.000000000","message":"consit \u003d\u003e consist","commit_id":"99bb7934da26c9d606a745860ef0a96c91eba0d5"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"6ea8157cffbb51a3bf0547b80f8a85b4b43c6dfb","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    of Nova object version 1.18. This included a transient migration of flavor"},{"line_number":59,"context_line":"    storage from one database location to another."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"Concepts"},{"line_number":63,"context_line":"--------"},{"line_number":64,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa32b979_7cf45df1","line":61,"updated":"2015-06-16 10:47:14.000000000","message":"It may be worthwhile noting that downgrades are no longer supported. But that is another issue","commit_id":"99bb7934da26c9d606a745860ef0a96c91eba0d5"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"15c82e4207d72745e128bed806b6246ca2570c2e","unresolved":false,"context_lines":[{"line_number":58,"context_line":"    of Nova object version 1.18. This included a transient migration of flavor"},{"line_number":59,"context_line":"    storage from one database location to another."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"Concepts"},{"line_number":63,"context_line":"--------"},{"line_number":64,"context_line":""}],"source_content_type":"text/x-rst","patch_set":4,"id":"fa32b979_7110fb01","line":61,"in_reply_to":"fa32b979_7cf45df1","updated":"2015-06-16 13:58:12.000000000","message":"+1 to gary\u0027s point here.","commit_id":"99bb7934da26c9d606a745860ef0a96c91eba0d5"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"881d2b87aa184161c005bc8f2f490ba557fb6682","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Currently Nova has 2 types of database upgrades that are in use."},{"line_number":37,"context_line":""},{"line_number":38,"context_line":"#. Offline Migrations"},{"line_number":39,"context_line":"#. Online Migrations"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"Offline Migrations consist of:"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_51acd7ec","line":39,"updated":"2015-06-16 13:57:35.000000000","message":"So we currently enforce online data migrations for both cases, for all new migrations (as of the start of kilo).\n\nThe differences are now just limited to schema migrations, in theory.","commit_id":"ed030298eee60d52dfa6c44fce9a1e06f0519b75"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"881d2b87aa184161c005bc8f2f490ba557fb6682","unresolved":false,"context_lines":[{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    #. Database data migrations from pre-defined migrations in"},{"line_number":49,"context_line":"       nova/db/sqlalchemy/migrate_repo/versions."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"Online Migrations consist of:"},{"line_number":53,"context_line":"\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027\u0027"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_f1916b9a","line":50,"updated":"2015-06-16 13:57:35.000000000","message":"we have just removed the ability to do downward migrations, as of the beginning of liberty, thats worth a note here.","commit_id":"ed030298eee60d52dfa6c44fce9a1e06f0519b75"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"881d2b87aa184161c005bc8f2f490ba557fb6682","unresolved":false,"context_lines":[{"line_number":56,"context_line":""},{"line_number":57,"context_line":"    An example of online data migrations are the flavor migrations done as part"},{"line_number":58,"context_line":"    of Nova object version 1.18. This included a transient migration of flavor"},{"line_number":59,"context_line":"    storage from one database location to another."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    *Note: Since the introduction of online migrations, database downgrades are"},{"line_number":62,"context_line":"     no longer supported.*"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_91f7bff4","line":59,"updated":"2015-06-16 13:57:35.000000000","message":"That applies in both cases right now.","commit_id":"ed030298eee60d52dfa6c44fce9a1e06f0519b75"},{"author":{"_account_id":782,"name":"John Garbutt","email":"john@johngarbutt.com","username":"johngarbutt"},"change_message_id":"e791231b88d7026374ca6db3e7377487228a56fb","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    storage from one database location to another."},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"    *Note: Since the introduction of online migrations, database downgrades are"},{"line_number":62,"context_line":"     no longer supported.*"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":"Concepts"},{"line_number":65,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":6,"id":"fa32b979_f1788bf4","line":62,"updated":"2015-06-16 14:03:54.000000000","message":"this appear to be invalid syntax, see the build job:\n\nsphinx.errors.SphinxWarning: /home/jenkins/workspace/gate-nova-docs/doc/source/upgrade.rst:62: WARNING: Inline emphasis start-string without end-string.","commit_id":"ed030298eee60d52dfa6c44fce9a1e06f0519b75"},{"author":{"_account_id":5441,"name":"Andrew Laski","email":"andrew@lascii.com","username":"alaski"},"change_message_id":"02d9ec0e3dd9fc673e209050816890caf00f053b","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    #. Database schema migrations from pre-defined migrations in"},{"line_number":46,"context_line":"       nova/db/sqlalchemy/migrate_repo/versions."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"    #. *Depricated* Database data migrations from pre-defined migrations in"},{"line_number":49,"context_line":"       nova/db/sqlalchemy/migrate_repo/versions."},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""}],"source_content_type":"text/x-rst","patch_set":8,"id":"fa32b979_47b73286","line":48,"range":{"start_line":48,"start_character":12,"end_line":48,"end_character":13},"updated":"2015-06-16 15:45:16.000000000","message":"e","commit_id":"50cd13c65f5358eb0364216cb946e67b8e7244ff"},{"author":{"_account_id":5441,"name":"Andrew Laski","email":"andrew@lascii.com","username":"alaski"},"change_message_id":"02d9ec0e3dd9fc673e209050816890caf00f053b","unresolved":false,"context_lines":[{"line_number":61,"context_line":"of Nova object version 1.18. This included a transient migration of flavor"},{"line_number":62,"context_line":"storage from one database location to another."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":":emphasis:`Note: Since the introduction of online data migrations at the beginning of"},{"line_number":65,"context_line":"liberty, database downgrades are no longer supported.`"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Concepts"}],"source_content_type":"text/x-rst","patch_set":8,"id":"fa32b979_e7a68652","line":64,"updated":"2015-06-16 15:45:16.000000000","message":"There was no correlation between these two events.","commit_id":"50cd13c65f5358eb0364216cb946e67b8e7244ff"},{"author":{"_account_id":5441,"name":"Andrew Laski","email":"andrew@lascii.com","username":"alaski"},"change_message_id":"6851b2993e6e501de80e995f50b0f6f694184a82","unresolved":false,"context_lines":[{"line_number":62,"context_line":"storage from one database location to another."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":":emphasis:`Note: Since the introduction of online data migrations, database"},{"line_number":65,"context_line":"downgrades are no longer supported.`"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"Concepts"},{"line_number":68,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":9,"id":"fa32b979_f973897e","line":65,"updated":"2015-06-16 17:35:48.000000000","message":"There is no correlation between the removal of downgrades and online data migrations.","commit_id":"b60a0488d149741e657c026ecd46746d60ce45c8"},{"author":{"_account_id":1653,"name":"garyk","email":"gkotton@vmware.com","username":"garyk"},"change_message_id":"5e3732130d8c137215e16330fdbc738272172b96","unresolved":false,"context_lines":[{"line_number":61,"context_line":"of Nova object version 1.18. This included a transient migration of flavor"},{"line_number":62,"context_line":"storage from one database location to another."},{"line_number":63,"context_line":""},{"line_number":64,"context_line":":emphasis:`Note: Database downgrades are not supported.`"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Concepts"},{"line_number":67,"context_line":"--------"}],"source_content_type":"text/x-rst","patch_set":10,"id":"fa32b979_e64748ba","line":64,"updated":"2015-06-17 08:32:10.000000000","message":"Thanks!","commit_id":"ddd1617a74308a7a22e0317ccd1679c72f82fb0a"}]}
