)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":14760,"name":"John L. Villalovos","email":"openstack.org@sodarock.com","username":"jlvillal"},"change_message_id":"3a8d957561d518ce97ab4e3973ebecce62d2e974","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add require_exclusive_lock decorators to conductor methods"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add require_exclusive_lock decorators to conductor methods"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: Iddba39decb564e0ca2d138f8c0b789d95a34de74"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a061dce_e24a6e25","line":9,"updated":"2016-04-06 14:21:23.000000000","message":"Why?","commit_id":"442d392a9721a1b05c05a46b231448534e53d4ec"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"e91c0d39c1c31be2d4820f0a588a93f98640f2fc","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Add require_exclusive_lock decorators to conductor methods"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Add require_exclusive_lock decorators to conductor methods"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: Iddba39decb564e0ca2d138f8c0b789d95a34de74"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9a061dce_9efacb73","line":9,"in_reply_to":"9a061dce_e24a6e25","updated":"2016-04-07 02:57:15.000000000","message":"Done","commit_id":"442d392a9721a1b05c05a46b231448534e53d4ec"}],"ironic/conductor/manager.py":[{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"5cd49a4f32b0917855ac11ab4878db6578214dad","unresolved":false,"context_lines":[{"line_number":803,"context_line":"        \"\"\""},{"line_number":804,"context_line":"        LOG.debug(\"RPC continue_node_clean called for node %s.\", node_id)"},{"line_number":805,"context_line":""},{"line_number":806,"context_line":"        with task_manager.acquire(context, node_id, shared\u003dFalse,"},{"line_number":807,"context_line":"                                  purpose\u003d\u0027continue node cleaning\u0027) as task:"},{"line_number":808,"context_line":"            node \u003d task.node"},{"line_number":809,"context_line":"            if node.target_provision_state \u003d\u003d states.MANAGEABLE:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a061dce_4c5424c9","line":806,"updated":"2016-04-06 16:42:38.000000000","message":"Don\u0027t we acquire lock in respective methods, like here?","commit_id":"442d392a9721a1b05c05a46b231448534e53d4ec"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"e91c0d39c1c31be2d4820f0a588a93f98640f2fc","unresolved":false,"context_lines":[{"line_number":803,"context_line":"        \"\"\""},{"line_number":804,"context_line":"        LOG.debug(\"RPC continue_node_clean called for node %s.\", node_id)"},{"line_number":805,"context_line":""},{"line_number":806,"context_line":"        with task_manager.acquire(context, node_id, shared\u003dFalse,"},{"line_number":807,"context_line":"                                  purpose\u003d\u0027continue node cleaning\u0027) as task:"},{"line_number":808,"context_line":"            node \u003d task.node"},{"line_number":809,"context_line":"            if node.target_provision_state \u003d\u003d states.MANAGEABLE:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a061dce_5efcb371","line":806,"in_reply_to":"9a061dce_4c5424c9","updated":"2016-04-07 02:57:15.000000000","message":"Done","commit_id":"442d392a9721a1b05c05a46b231448534e53d4ec"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"aace1e129ff64a0ca2dbc645fe7e7ee79294dd42","unresolved":false,"context_lines":[{"line_number":653,"context_line":"                state\u003dnode.provision_state)"},{"line_number":654,"context_line":"        self._do_node_clean(task)"},{"line_number":655,"context_line":""},{"line_number":656,"context_line":"    @task_manager.require_exclusive_lock"},{"line_number":657,"context_line":"    def _get_node_next_clean_steps(self, task, skip_current_step\u003dTrue):"},{"line_number":658,"context_line":"        \"\"\"Get the task\u0027s node\u0027s next clean steps."},{"line_number":659,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"9a061dce_2d2045f7","line":656,"updated":"2016-04-08 18:00:51.000000000","message":"Why do we need it here? This is not called async by anything. And all the vendor methods that call it already have require_exclusive_lock decorator.","commit_id":"1cdb4ee3dcce0566553fa7dd48923bb53cff5fca"},{"author":{"_account_id":13362,"name":"Tan Lin","email":"lin.tan@intel.com","username":"zero"},"change_message_id":"de26d745b29bbcc9899f8959715bcb6370040f0c","unresolved":false,"context_lines":[{"line_number":653,"context_line":"                state\u003dnode.provision_state)"},{"line_number":654,"context_line":"        self._do_node_clean(task)"},{"line_number":655,"context_line":""},{"line_number":656,"context_line":"    @task_manager.require_exclusive_lock"},{"line_number":657,"context_line":"    def _get_node_next_clean_steps(self, task, skip_current_step\u003dTrue):"},{"line_number":658,"context_line":"        \"\"\"Get the task\u0027s node\u0027s next clean steps."},{"line_number":659,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"7a1b2928_259358a5","line":656,"in_reply_to":"9a061dce_2d2045f7","updated":"2016-04-11 01:37:17.000000000","message":"Yes, this is not about async, but just to be consistent. I don\u0027t have a strong feelings on that, so I can correct it.","commit_id":"1cdb4ee3dcce0566553fa7dd48923bb53cff5fca"}]}
