)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"7d59367a586cd89a16e0a8af347f42403b899e29","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"When the dead letter queue enabled and part of messages meet their"},{"line_number":10,"context_line":"max claim count, these messages will be moved to dead letter queue"},{"line_number":11,"context_line":"and current claim request will remove None for the claim ID and"},{"line_number":12,"context_line":"empty list for the messages based on current implement. But it\u0027s"},{"line_number":13,"context_line":"not correct if there are messages have been claimed successfully."},{"line_number":14,"context_line":"This patch fixes the issue and changes the test code accordingly."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"9f436f4f_ef0fd8de","line":11,"range":{"start_line":11,"start_character":31,"end_line":11,"end_character":37},"updated":"2017-08-11 03:05:27.000000000","message":"this should be return. right?","commit_id":"f6ece534c9f16371f27f2ccecbc577ea56570974"}],"zaqar/storage/mongodb/claims.py":[{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"3b35bf06b919c8a29a9de0a2e5570cd67304f24a","unresolved":false,"context_lines":[{"line_number":268,"context_line":"            else:"},{"line_number":269,"context_line":"                # NOTE(flwang): Though messages are claimed, but all of them"},{"line_number":270,"context_line":"                # have met the max claim count and have been moved to DLQ."},{"line_number":271,"context_line":"                return str(oid), iter([]) "},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"        return str(oid), messages"},{"line_number":274,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_9f43916c","line":271,"updated":"2017-08-04 02:41:54.000000000","message":"I don\u0027t have a preference if we should return the claim id even if all the messages haven\u0027t been moved to DLQ. Hence Why I haven\u0027t fixed the test failure. Thoughts?","commit_id":"21cd13118f21527d7a103c1f61db6d7ebbcc8e3b"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"e0f0bd2eddf70b58405e8705d4157abf94e6a0ab","unresolved":false,"context_lines":[{"line_number":268,"context_line":"            else:"},{"line_number":269,"context_line":"                # NOTE(flwang): Though messages are claimed, but all of them"},{"line_number":270,"context_line":"                # have met the max claim count and have been moved to DLQ."},{"line_number":271,"context_line":"                return str(oid), iter([]) "},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"        return str(oid), messages"},{"line_number":274,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_b7a1d9fa","line":271,"in_reply_to":"df3967d1_7a0b5b23","updated":"2017-08-04 06:27:49.000000000","message":"I don\u0027t think so. We should keep the same with L164 IMO.\nBecause in both cases, there is no available message for users.","commit_id":"21cd13118f21527d7a103c1f61db6d7ebbcc8e3b"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"4409b4b58daf9179e0cc8fb3cce80d1d1eca91c4","unresolved":false,"context_lines":[{"line_number":268,"context_line":"            else:"},{"line_number":269,"context_line":"                # NOTE(flwang): Though messages are claimed, but all of them"},{"line_number":270,"context_line":"                # have met the max claim count and have been moved to DLQ."},{"line_number":271,"context_line":"                return str(oid), iter([]) "},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"        return str(oid), messages"},{"line_number":274,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_7a0b5b23","line":271,"in_reply_to":"df3967d1_9f43916c","updated":"2017-08-04 02:52:11.000000000","message":"from my point of view, we should return the claim id and [] if all the messages have been moved to DLQ, It is reasonable, user may handle that","commit_id":"21cd13118f21527d7a103c1f61db6d7ebbcc8e3b"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"041c014a96022d0de169640ef1b7574b25e5e26d","unresolved":false,"context_lines":[{"line_number":268,"context_line":"            else:"},{"line_number":269,"context_line":"                # NOTE(flwang): Though messages are claimed, but all of them"},{"line_number":270,"context_line":"                # have met the max claim count and have been moved to DLQ."},{"line_number":271,"context_line":"                return str(oid), iter([]) "},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"        return str(oid), messages"},{"line_number":274,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"df3967d1_f7b9a114","line":271,"in_reply_to":"df3967d1_b7a1d9fa","updated":"2017-08-04 06:30:18.000000000","message":"hmmm, I agree with you, thanks","commit_id":"21cd13118f21527d7a103c1f61db6d7ebbcc8e3b"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"fb2798d55d0494d3ec331a11eb3f1edbd6c520b3","unresolved":false,"context_lines":[{"line_number":268,"context_line":"            else:"},{"line_number":269,"context_line":"                # NOTE(flwang): Though messages are claimed, but all of them"},{"line_number":270,"context_line":"                # have met the max claim count and have been moved to DLQ."},{"line_number":271,"context_line":"                return str(oid), iter([])"},{"line_number":272,"context_line":""},{"line_number":273,"context_line":"        return str(oid), messages"},{"line_number":274,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"9f436f4f_ce0116b2","line":271,"range":{"start_line":271,"start_character":23,"end_line":271,"end_character":31},"updated":"2017-08-08 09:29:16.000000000","message":"So any reason that this is not None?","commit_id":"3c40b5e48624179bb518929072213e162e359122"}]}
