)]}'
{"nova/objects/migration.py":[{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"d5f5e576f2257f1a0ce2c7dc4451bd1705c49dab","unresolved":false,"context_lines":[{"line_number":155,"context_line":"    ]"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    def __init__(self):"},{"line_number":158,"context_line":"        \"\"\"Initialize the defaule start state to \u0027init\u0027."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        All migration state machines start with \u0027init\u0027 by default. To change"},{"line_number":161,"context_line":"        the start state, pass the start state to initialize()."}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_0b31b1a2","line":158,"updated":"2015-11-07 00:53:54.000000000","message":"defaule -\u003e default","commit_id":"41110decc01e3008878b8e9626d70af012fe15d9"},{"author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"change_message_id":"83960ff5a3776512e4b7799aaed83f51ee9b4774","unresolved":false,"context_lines":[{"line_number":155,"context_line":"    ]"},{"line_number":156,"context_line":""},{"line_number":157,"context_line":"    def __init__(self):"},{"line_number":158,"context_line":"        \"\"\"Initialize the defaule start state to \u0027init\u0027."},{"line_number":159,"context_line":""},{"line_number":160,"context_line":"        All migration state machines start with \u0027init\u0027 by default. To change"},{"line_number":161,"context_line":"        the start state, pass the start state to initialize()."}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_d3a35f4e","line":158,"in_reply_to":"da85f559_0b31b1a2","updated":"2015-11-07 11:46:03.000000000","message":"Done","commit_id":"41110decc01e3008878b8e9626d70af012fe15d9"}],"nova/objects/migration_status.py":[{"author":{"_account_id":1297,"name":"Joshua Harlow","email":"jxharlow@godaddy.com","username":"harlowja"},"change_message_id":"bc13b946f934993d28f04a70e1cced9c36c7d860","unresolved":false,"context_lines":[{"line_number":65,"context_line":"EVENT_LIVE_MIGRATION_FAIL\u003d \u0027to-failed\u0027"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"# Status machine of resize."},{"line_number":69,"context_line":"#"},{"line_number":70,"context_line":"#                        init"},{"line_number":71,"context_line":"#            (START,CLAIM) |    (CLAIM)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_cb2ac92c","line":68,"updated":"2015-11-07 00:54:15.000000000","message":"Status -\u003e State","commit_id":"41110decc01e3008878b8e9626d70af012fe15d9"},{"author":{"_account_id":14937,"name":"Tang Chen","email":"imtangchen@163.com","username":"tangchen"},"change_message_id":"83960ff5a3776512e4b7799aaed83f51ee9b4774","unresolved":false,"context_lines":[{"line_number":65,"context_line":"EVENT_LIVE_MIGRATION_FAIL\u003d \u0027to-failed\u0027"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"# Status machine of resize."},{"line_number":69,"context_line":"#"},{"line_number":70,"context_line":"#                        init"},{"line_number":71,"context_line":"#            (START,CLAIM) |    (CLAIM)"}],"source_content_type":"text/x-python","patch_set":1,"id":"da85f559_f3bb0374","line":68,"in_reply_to":"da85f559_cb2ac92c","updated":"2015-11-07 11:46:03.000000000","message":"I call it status machine for two reasons:\n1. the field is named status\n2. as Nikola suggested, the current state machine is not good. But we cannot simply change or remove it because it has been exposed through APIs. We may want to introduce a new field named state, and design a better state machine for it. Then we can call it state machine. \n\nBut before we introduce this new field, we have to do one thing first: the migration_type is not clear, like we discussed in dev list.\n\nThanks.","commit_id":"41110decc01e3008878b8e9626d70af012fe15d9"}]}
