)]}'
{"smaug/services/operationengine/operations/base.py":[{"author":{"_account_id":19346,"name":"yinwei","email":"yinweiishere@icloud.com","username":"yinwei"},"change_message_id":"460f7bc465dd245734a5b8ae198546c131852a26","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            log_ref \u003d cls._get_operation_log("},{"line_number":68,"context_line":"                operation_id, constants.OPERATION_EXE_STATE_IN_PROGRESS)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"            if log_ref is None or len(log_ref) \u003e 1:"},{"line_number":71,"context_line":"                return"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"            if 1 \u003d\u003d len(log_ref):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_a9951be5","line":70,"updated":"2016-06-07 01:43:52.000000000","message":"why resumed operation with more than one log means this operation is without time out risk?","commit_id":"77104ff6de914a3313373e22e3a48ef466a05eb4"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"ed93d2259789411d7d30fdcb718ca0a564314a0f","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            log_ref \u003d cls._get_operation_log("},{"line_number":68,"context_line":"                operation_id, constants.OPERATION_EXE_STATE_IN_PROGRESS)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"            if log_ref is None or len(log_ref) \u003e 1:"},{"line_number":71,"context_line":"                return"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"            if 1 \u003d\u003d len(log_ref):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_e09c4d5f","line":70,"in_reply_to":"7aa08908_4578d3c4","updated":"2016-06-07 07:09:21.000000000","message":"As the design, it will not happen. But if it is failed to update the log\u0027s state, then there will be more than one log whose state is \u0027in_progress\u0027.","commit_id":"77104ff6de914a3313373e22e3a48ef466a05eb4"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"2db0a3e2ad10593376eee163077ca61a144170a6","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            log_ref \u003d cls._get_operation_log("},{"line_number":68,"context_line":"                operation_id, constants.OPERATION_EXE_STATE_IN_PROGRESS)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"            if log_ref is None or len(log_ref) \u003e 1:"},{"line_number":71,"context_line":"                return"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"            if 1 \u003d\u003d len(log_ref):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_e5857f07","line":70,"in_reply_to":"7aa08908_a9951be5","updated":"2016-06-07 06:39:13.000000000","message":"Generally, the operation has only one log whose state is \u0027in_progress\u0027. Here it is just for the safety.\nWhen we find the operation is expiry, it will not be executed and has one log to record the state. you can see the codes on 75 and 85 line.","commit_id":"77104ff6de914a3313373e22e3a48ef466a05eb4"},{"author":{"_account_id":19346,"name":"yinwei","email":"yinweiishere@icloud.com","username":"yinwei"},"change_message_id":"f95f68c9a406f2875503ff0a3ec56faf6a43c68a","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            log_ref \u003d cls._get_operation_log("},{"line_number":68,"context_line":"                operation_id, constants.OPERATION_EXE_STATE_IN_PROGRESS)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"            if log_ref is None or len(log_ref) \u003e 1:"},{"line_number":71,"context_line":"                return"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"            if 1 \u003d\u003d len(log_ref):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7aa08908_4578d3c4","line":70,"in_reply_to":"7aa08908_e5857f07","updated":"2016-06-07 06:49:19.000000000","message":"then for what case the len(log_ref)\u003e1 or this is an invalid case?","commit_id":"77104ff6de914a3313373e22e3a48ef466a05eb4"}]}
