)]}'
{"zaqar/storage/errors.py":[{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"24e95350197159e465268e5dc16ec3c61c1072b6","unresolved":false,"context_lines":[{"line_number":211,"context_line":"    msg_format \u003d (u\u0027Redis not support pool_goup, please use flavor \u0027)"},{"line_number":212,"context_line":""},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"class PoolRedisNotSupportGroup(ExceptionBase):"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"    msg_format \u003d (u\u0027Redis not support pool_goup, please use flavor \u0027)"},{"line_number":217,"context_line":""}],"source_content_type":"text/x-python","patch_set":32,"id":"ff82abbf_9f03d30f","line":214,"updated":"2017-11-23 03:16:05.000000000","message":"this line is dup of 209 ,thanks","commit_id":"94c0dc47e1b9902a08be7313f9a1341a136b9072"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"f0802f93fd95932c5096195036218b8b89472332","unresolved":false,"context_lines":[{"line_number":211,"context_line":"    msg_format \u003d (u\u0027Redis not support pool_goup, please use flavor \u0027)"},{"line_number":212,"context_line":""},{"line_number":213,"context_line":""},{"line_number":214,"context_line":"class PoolRedisNotSupportGroup(ExceptionBase):"},{"line_number":215,"context_line":""},{"line_number":216,"context_line":"    msg_format \u003d (u\u0027Redis not support pool_goup, please use flavor \u0027)"},{"line_number":217,"context_line":""}],"source_content_type":"text/x-python","patch_set":32,"id":"ff82abbf_ea37bbe2","line":214,"in_reply_to":"ff82abbf_9f03d30f","updated":"2017-11-23 03:18:07.000000000","message":"ok.remove it","commit_id":"94c0dc47e1b9902a08be7313f9a1341a136b9072"}],"zaqar/storage/redis/__init__.py":[{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"00623268c2f79cb7677b38c1a5fe71fe0afe3403","unresolved":false,"context_lines":[{"line_number":34,"context_line":".. [1] This depends on the backing Redis store performance. For more"},{"line_number":35,"context_line":"information, see `Redis\u0027 benchmarks \u003chttp://redis.io/topics/benchmarks\u003e`_."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"Redis is only a storage driver, and can\u0027t be used as the sole backend for a"},{"line_number":38,"context_line":"Zaqar deployment."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Unsupported Features"}],"source_content_type":"text/x-python","patch_set":29,"id":"1f485f77_7c80cbf5","line":37,"updated":"2017-11-18 02:32:08.000000000","message":"Redis can be used both a storage driver and management driver","commit_id":"6dd3a01cefcf6efeba7905cbe9e22d59d1b31ab5"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"6ed5dd0d55304d5730b362feada5a712a11ca2cd","unresolved":false,"context_lines":[{"line_number":34,"context_line":".. [1] This depends on the backing Redis store performance. For more"},{"line_number":35,"context_line":"information, see `Redis\u0027 benchmarks \u003chttp://redis.io/topics/benchmarks\u003e`_."},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"Redis is only a storage driver, and can\u0027t be used as the sole backend for a"},{"line_number":38,"context_line":"Zaqar deployment."},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"Unsupported Features"}],"source_content_type":"text/x-python","patch_set":29,"id":"1f485f77_d3ee8020","line":37,"in_reply_to":"1f485f77_7c80cbf5","updated":"2017-11-20 00:49:17.000000000","message":"ok","commit_id":"6dd3a01cefcf6efeba7905cbe9e22d59d1b31ab5"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"00623268c2f79cb7677b38c1a5fe71fe0afe3403","unresolved":false,"context_lines":[{"line_number":46,"context_line":"       the MongoDB or SQLAlchemy backends do."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Redis is not supported as the backend for the Management Store, which means"},{"line_number":49,"context_line":"either MongoDB or SQLAlchemy are required in addition to Redis for a working"},{"line_number":50,"context_line":"deployment."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":29,"id":"1f485f77_1c98b772","line":49,"updated":"2017-11-18 02:32:08.000000000","message":"these three lines can be removed","commit_id":"6dd3a01cefcf6efeba7905cbe9e22d59d1b31ab5"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"6ed5dd0d55304d5730b362feada5a712a11ca2cd","unresolved":false,"context_lines":[{"line_number":46,"context_line":"       the MongoDB or SQLAlchemy backends do."},{"line_number":47,"context_line":""},{"line_number":48,"context_line":"Redis is not supported as the backend for the Management Store, which means"},{"line_number":49,"context_line":"either MongoDB or SQLAlchemy are required in addition to Redis for a working"},{"line_number":50,"context_line":"deployment."},{"line_number":51,"context_line":""},{"line_number":52,"context_line":""}],"source_content_type":"text/x-python","patch_set":29,"id":"1f485f77_b3f1c403","line":49,"in_reply_to":"1f485f77_1c98b772","updated":"2017-11-20 00:49:17.000000000","message":"ok","commit_id":"6dd3a01cefcf6efeba7905cbe9e22d59d1b31ab5"}],"zaqar/storage/redis/catalogue.py":[{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"933d971af89cfd50d0716a6ffb3349c681215de8","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"\"\"\"MongoDB storage controller for the queues catalogue."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Serves to construct an association between a project + queue -\u003e pool."},{"line_number":19,"context_line":""}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_80f04269","line":16,"updated":"2017-11-14 03:21:22.000000000","message":"Redis","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"cba935de9365afcfc88a53f8760c060f63e11e95","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# See the License for the specific language governing permissions and"},{"line_number":14,"context_line":"# limitations under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"\"\"\"MongoDB storage controller for the queues catalogue."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Serves to construct an association between a project + queue -\u003e pool."},{"line_number":19,"context_line":""}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_777b5d7a","line":16,"in_reply_to":"1f485f77_80f04269","updated":"2017-11-17 07:25:10.000000000","message":"ok","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"0628bc9ca7c70f3c49a143b0c54197936fcf9f15","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2013 Rackspace Hosting, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-python","patch_set":30,"id":"ff82abbf_7845ecb2","line":1,"updated":"2017-11-22 21:25:35.000000000","message":"Mind adding the copyright info of ZTE?","commit_id":"6103a79c59c5191d0c3426efdfd8964b937e4b0f"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"975d289d02b4605340cf57542f9d64ba539e5e8a","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2013 Rackspace Hosting, Inc."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-python","patch_set":30,"id":"ff82abbf_3cbf3562","line":1,"in_reply_to":"ff82abbf_7845ecb2","updated":"2017-11-23 02:22:02.000000000","message":"ok.I add it.","commit_id":"6103a79c59c5191d0c3426efdfd8964b937e4b0f"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"0628bc9ca7c70f3c49a143b0c54197936fcf9f15","unresolved":false,"context_lines":[{"line_number":65,"context_line":"        +----------------------+---------+"},{"line_number":66,"context_line":"        |  Queue               |  p_q    |"},{"line_number":67,"context_line":"        +----------------------+---------+"},{"line_number":68,"context_line":"        |  Pool                |  pl     |"},{"line_number":69,"context_line":"        +----------------------+---------+"},{"line_number":70,"context_line":"    \"\"\""},{"line_number":71,"context_line":""}],"source_content_type":"text/x-python","patch_set":30,"id":"ff82abbf_d80d1891","line":68,"updated":"2017-11-22 21:25:35.000000000","message":"I think we have agreed using p_p, see https://review.openstack.org/#/c/504379/5/specs/queens/support-redis-as-mgmt-storage-backend.rst","commit_id":"6103a79c59c5191d0c3426efdfd8964b937e4b0f"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"c0d8327bd4c965975b2fd7f8ebbd8130c896c822","unresolved":false,"context_lines":[{"line_number":65,"context_line":"        +----------------------+---------+"},{"line_number":66,"context_line":"        |  Queue               |  p_q    |"},{"line_number":67,"context_line":"        +----------------------+---------+"},{"line_number":68,"context_line":"        |  Pool                |  pl     |"},{"line_number":69,"context_line":"        +----------------------+---------+"},{"line_number":70,"context_line":"    \"\"\""},{"line_number":71,"context_line":""}],"source_content_type":"text/x-python","patch_set":37,"id":"df87a7cf_a8ce3660","line":68,"updated":"2017-12-10 21:03:40.000000000","message":"p_p?","commit_id":"c33bad61f96a1406e5719d570b43d8c7a9fdf983"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"086f01014531b6b43bcd5097c8a6eb328bacaefa","unresolved":false,"context_lines":[{"line_number":65,"context_line":"        +----------------------+---------+"},{"line_number":66,"context_line":"        |  Queue               |  p_q    |"},{"line_number":67,"context_line":"        +----------------------+---------+"},{"line_number":68,"context_line":"        |  Pool                |  pl     |"},{"line_number":69,"context_line":"        +----------------------+---------+"},{"line_number":70,"context_line":"    \"\"\""},{"line_number":71,"context_line":""}],"source_content_type":"text/x-python","patch_set":37,"id":"df87a7cf_cb25b40a","line":68,"in_reply_to":"df87a7cf_a8ce3660","updated":"2017-12-11 01:00:41.000000000","message":"ok.I modify it.","commit_id":"c33bad61f96a1406e5719d570b43d8c7a9fdf983"}],"zaqar/storage/redis/pools.py":[{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"3cfd5720dd91ff4286587ba34072fd80877a75e7","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"\"\"\"pools: an implementation of the pool management storage"},{"line_number":16,"context_line":"controller for mongodb."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Schema:"},{"line_number":19,"context_line":"  \u0027n\u0027: name :: six.text_type"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_c0abda1a","line":16,"updated":"2017-11-14 03:26:18.000000000","message":"redis","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"cba935de9365afcfc88a53f8760c060f63e11e95","unresolved":false,"context_lines":[{"line_number":13,"context_line":"# the License."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"\"\"\"pools: an implementation of the pool management storage"},{"line_number":16,"context_line":"controller for mongodb."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Schema:"},{"line_number":19,"context_line":"  \u0027n\u0027: name :: six.text_type"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_37de056d","line":16,"in_reply_to":"1f485f77_c0abda1a","updated":"2017-11-17 07:25:10.000000000","message":"ok","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"cdb86abc3481cb7fa49da0806d3ae57e65f40c49","unresolved":false,"context_lines":[{"line_number":124,"context_line":"    @utils.retries_on_connection_error"},{"line_number":125,"context_line":"    def _get_pools_by_flavor(self, flavor\u003dNone, detailed\u003dFalse):"},{"line_number":126,"context_line":"        cursor \u003d None"},{"line_number":127,"context_line":"        if flavor is None:"},{"line_number":128,"context_line":"            set_key \u003d utils.pools_set_key()"},{"line_number":129,"context_line":"            cursor \u003d (pl for pl in self._client.zrange(set_key, 0, -1))"},{"line_number":130,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_717b91f4","line":127,"updated":"2017-11-16 06:03:49.000000000","message":"flavor may be {} , that is not enough ,thanks","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"cba935de9365afcfc88a53f8760c060f63e11e95","unresolved":false,"context_lines":[{"line_number":124,"context_line":"    @utils.retries_on_connection_error"},{"line_number":125,"context_line":"    def _get_pools_by_flavor(self, flavor\u003dNone, detailed\u003dFalse):"},{"line_number":126,"context_line":"        cursor \u003d None"},{"line_number":127,"context_line":"        if flavor is None:"},{"line_number":128,"context_line":"            set_key \u003d utils.pools_set_key()"},{"line_number":129,"context_line":"            cursor \u003d (pl for pl in self._client.zrange(set_key, 0, -1))"},{"line_number":130,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_f7bced06","line":127,"in_reply_to":"1f485f77_717b91f4","updated":"2017-11-17 07:25:10.000000000","message":"modify as below:\nif flavor is None or flavor.get(\u0027name\u0027) is None:","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"d89c98f301e458feb3a576660015e792188cffbe","unresolved":false,"context_lines":[{"line_number":144,"context_line":"        subset_key \u003d utils.pools_subset_key(flavor)"},{"line_number":145,"context_line":"        set_key \u003d utils.pools_set_key()"},{"line_number":146,"context_line":"        if self._exists(name):"},{"line_number":147,"context_line":"            raise errors.PoolAlreadyExists()"},{"line_number":148,"context_line":"        pool \u003d {"},{"line_number":149,"context_line":"            \u0027pl\u0027: name,"},{"line_number":150,"context_line":"            \u0027u\u0027: uri,"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_d561f1aa","line":147,"updated":"2017-11-17 01:34:24.000000000","message":"here is not consistent with mongo and swift. if exist, you may update it.","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"cba935de9365afcfc88a53f8760c060f63e11e95","unresolved":false,"context_lines":[{"line_number":144,"context_line":"        subset_key \u003d utils.pools_subset_key(flavor)"},{"line_number":145,"context_line":"        set_key \u003d utils.pools_set_key()"},{"line_number":146,"context_line":"        if self._exists(name):"},{"line_number":147,"context_line":"            raise errors.PoolAlreadyExists()"},{"line_number":148,"context_line":"        pool \u003d {"},{"line_number":149,"context_line":"            \u0027pl\u0027: name,"},{"line_number":150,"context_line":"            \u0027u\u0027: uri,"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_f76aad7e","line":147,"in_reply_to":"1f485f77_d561f1aa","updated":"2017-11-17 07:25:10.000000000","message":"if the pool exists, call update","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"3cfd5720dd91ff4286587ba34072fd80877a75e7","unresolved":false,"context_lines":[{"line_number":182,"context_line":"        new_options \u003d fields.get(\u0027options\u0027)"},{"line_number":183,"context_line":"        if \u0027options\u0027 in fields:"},{"line_number":184,"context_line":"            fields[\u0027o\u0027] \u003d self._packer(new_options)"},{"line_number":185,"context_line":"        print(\"##########pool update:fields:%s\" % (str(fields)))"},{"line_number":186,"context_line":"        flavor \u003d fields.get(\u0027f\u0027)"},{"line_number":187,"context_line":"        if flavor is not None and len(flavor) \u003d\u003d 0:"},{"line_number":188,"context_line":"            fields[\u0027f\u0027] \u003d None"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_0077b2d6","line":185,"updated":"2017-11-14 03:26:18.000000000","message":"use LOG instead pls.","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"cba935de9365afcfc88a53f8760c060f63e11e95","unresolved":false,"context_lines":[{"line_number":182,"context_line":"        new_options \u003d fields.get(\u0027options\u0027)"},{"line_number":183,"context_line":"        if \u0027options\u0027 in fields:"},{"line_number":184,"context_line":"            fields[\u0027o\u0027] \u003d self._packer(new_options)"},{"line_number":185,"context_line":"        print(\"##########pool update:fields:%s\" % (str(fields)))"},{"line_number":186,"context_line":"        flavor \u003d fields.get(\u0027f\u0027)"},{"line_number":187,"context_line":"        if flavor is not None and len(flavor) \u003d\u003d 0:"},{"line_number":188,"context_line":"            fields[\u0027f\u0027] \u003d None"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_7757ddcb","line":185,"in_reply_to":"1f485f77_0077b2d6","updated":"2017-11-17 07:25:10.000000000","message":"remove it","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"3cfd5720dd91ff4286587ba34072fd80877a75e7","unresolved":false,"context_lines":[{"line_number":193,"context_line":"        pool_key \u003d utils.pools_name_hash_key(name)"},{"line_number":194,"context_line":"        # (gengchc2): Pipeline ensures atomic inserts."},{"line_number":195,"context_line":"        with self._client.pipeline() as pipe:"},{"line_number":196,"context_line":"            print(\"##########pool update4444\")"},{"line_number":197,"context_line":"            # (gengchc2): Add pool to flavor_new.pools subset"},{"line_number":198,"context_line":"            if flavor_new is not None:"},{"line_number":199,"context_line":"                print(\"##########pool update5555\")"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_c0807a8e","line":196,"updated":"2017-11-14 03:26:18.000000000","message":"use LOG pls","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"cba935de9365afcfc88a53f8760c060f63e11e95","unresolved":false,"context_lines":[{"line_number":193,"context_line":"        pool_key \u003d utils.pools_name_hash_key(name)"},{"line_number":194,"context_line":"        # (gengchc2): Pipeline ensures atomic inserts."},{"line_number":195,"context_line":"        with self._client.pipeline() as pipe:"},{"line_number":196,"context_line":"            print(\"##########pool update4444\")"},{"line_number":197,"context_line":"            # (gengchc2): Add pool to flavor_new.pools subset"},{"line_number":198,"context_line":"            if flavor_new is not None:"},{"line_number":199,"context_line":"                print(\"##########pool update5555\")"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_d7b9f114","line":196,"in_reply_to":"1f485f77_c0807a8e","updated":"2017-11-17 07:25:10.000000000","message":"remove it","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"3cfd5720dd91ff4286587ba34072fd80877a75e7","unresolved":false,"context_lines":[{"line_number":196,"context_line":"            print(\"##########pool update4444\")"},{"line_number":197,"context_line":"            # (gengchc2): Add pool to flavor_new.pools subset"},{"line_number":198,"context_line":"            if flavor_new is not None:"},{"line_number":199,"context_line":"                print(\"##########pool update5555\")"},{"line_number":200,"context_line":"                new_subset_key \u003d utils.pools_subset_key(flavor_new)"},{"line_number":201,"context_line":"                pipe.zadd(new_subset_key, 1, pool_key)"},{"line_number":202,"context_line":"            # (gengchc2) remove pool from flavor_old.pools subset"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_604f8692","line":199,"range":{"start_line":199,"start_character":29,"end_line":199,"end_character":30},"updated":"2017-11-14 03:26:18.000000000","message":"use LOG pls","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"cba935de9365afcfc88a53f8760c060f63e11e95","unresolved":false,"context_lines":[{"line_number":196,"context_line":"            print(\"##########pool update4444\")"},{"line_number":197,"context_line":"            # (gengchc2): Add pool to flavor_new.pools subset"},{"line_number":198,"context_line":"            if flavor_new is not None:"},{"line_number":199,"context_line":"                print(\"##########pool update5555\")"},{"line_number":200,"context_line":"                new_subset_key \u003d utils.pools_subset_key(flavor_new)"},{"line_number":201,"context_line":"                pipe.zadd(new_subset_key, 1, pool_key)"},{"line_number":202,"context_line":"            # (gengchc2) remove pool from flavor_old.pools subset"}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_973db990","line":199,"range":{"start_line":199,"start_character":29,"end_line":199,"end_character":30},"in_reply_to":"1f485f77_604f8692","updated":"2017-11-17 07:25:10.000000000","message":"remove it","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"0628bc9ca7c70f3c49a143b0c54197936fcf9f15","unresolved":false,"context_lines":[{"line_number":142,"context_line":"                options\u003dNone):"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"        if group is not None:"},{"line_number":145,"context_line":"            raise errors.PoolRedisNotSupportGroup"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"        flavor \u003d flavor if flavor is not None else None"},{"line_number":148,"context_line":"        options \u003d {} if options is None else options"}],"source_content_type":"text/x-python","patch_set":30,"id":"ff82abbf_fa17b144","line":145,"updated":"2017-11-22 21:25:35.000000000","message":"Is it a new exception class?","commit_id":"6103a79c59c5191d0c3426efdfd8964b937e4b0f"},{"author":{"_account_id":6484,"name":"Feilong Wang","email":"hustemb@gmail.com","username":"flwang"},"change_message_id":"9cb2990304e92a6f8303bb5f26eb98c22b82783d","unresolved":false,"context_lines":[{"line_number":142,"context_line":"                options\u003dNone):"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"        if group is not None:"},{"line_number":145,"context_line":"            raise errors.PoolRedisNotSupportGroup"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"        flavor \u003d flavor if flavor is not None else None"},{"line_number":148,"context_line":"        options \u003d {} if options is None else options"}],"source_content_type":"text/x-python","patch_set":30,"id":"ff82abbf_dc096931","line":145,"in_reply_to":"ff82abbf_9cf9a14e","updated":"2017-11-23 02:29:06.000000000","message":"Ok, I see. But did you add this new Exception in this patch?","commit_id":"6103a79c59c5191d0c3426efdfd8964b937e4b0f"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"7bde7158a4336a9c6dd0cd3d4e7478d04b06f8ce","unresolved":false,"context_lines":[{"line_number":142,"context_line":"                options\u003dNone):"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"        if group is not None:"},{"line_number":145,"context_line":"            raise errors.PoolRedisNotSupportGroup"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"        flavor \u003d flavor if flavor is not None else None"},{"line_number":148,"context_line":"        options \u003d {} if options is None else options"}],"source_content_type":"text/x-python","patch_set":30,"id":"ff82abbf_bf77b7d4","line":145,"in_reply_to":"ff82abbf_dc096931","updated":"2017-11-23 03:11:20.000000000","message":"PoolRedisNotSupportGroup in zaqar/storage/errors.py\nI put it to 511662.\nI move errors.py to this bugfix.","commit_id":"6103a79c59c5191d0c3426efdfd8964b937e4b0f"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"975d289d02b4605340cf57542f9d64ba539e5e8a","unresolved":false,"context_lines":[{"line_number":142,"context_line":"                options\u003dNone):"},{"line_number":143,"context_line":""},{"line_number":144,"context_line":"        if group is not None:"},{"line_number":145,"context_line":"            raise errors.PoolRedisNotSupportGroup"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"        flavor \u003d flavor if flavor is not None else None"},{"line_number":148,"context_line":"        options \u003d {} if options is None else options"}],"source_content_type":"text/x-python","patch_set":30,"id":"ff82abbf_9cf9a14e","line":145,"in_reply_to":"ff82abbf_fa17b144","updated":"2017-11-23 02:22:02.000000000","message":"Redis as management doesn\u0027t support group currently, If users config pool with group, I throw PoolRedisNotSupportGroup.\nIf Redis support group too, the new except class PoolRedisNotSupportGroup can be removed.\nNeed we support group in redis pool or flavor？","commit_id":"6103a79c59c5191d0c3426efdfd8964b937e4b0f"}],"zaqar/storage/redis/utils.py":[{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"6e6f6208210521bbd97811696d07df1205ceb4da","unresolved":false,"context_lines":[{"line_number":286,"context_line":"    suffix"},{"line_number":287,"context_line":"    \"\"\""},{"line_number":288,"context_line":""},{"line_number":289,"context_line":"    return (flavors_suffix)"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":""},{"line_number":292,"context_line":"def scope_project_flavors_ids_set(project\u003dNone,"}],"source_content_type":"text/x-python","patch_set":26,"id":"1f485f77_dea0e944","line":289,"range":{"start_line":289,"start_character":11,"end_line":289,"end_character":12},"updated":"2017-11-17 09:11:46.000000000","message":"looks like this is redundant","commit_id":"226e46ef04695297cd6ca4fac673581dd977adc8"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"00dcdb6b371dd5c9f7efbdc958c174a081b40da3","unresolved":false,"context_lines":[{"line_number":286,"context_line":"    suffix"},{"line_number":287,"context_line":"    \"\"\""},{"line_number":288,"context_line":""},{"line_number":289,"context_line":"    return (flavors_suffix)"},{"line_number":290,"context_line":""},{"line_number":291,"context_line":""},{"line_number":292,"context_line":"def scope_project_flavors_ids_set(project\u003dNone,"}],"source_content_type":"text/x-python","patch_set":26,"id":"1f485f77_8120d6f8","line":289,"range":{"start_line":289,"start_character":11,"end_line":289,"end_character":12},"in_reply_to":"1f485f77_dea0e944","updated":"2017-11-17 09:42:34.000000000","message":"ok","commit_id":"226e46ef04695297cd6ca4fac673581dd977adc8"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"6e6f6208210521bbd97811696d07df1205ceb4da","unresolved":false,"context_lines":[{"line_number":297,"context_line":"    project-id_suffix"},{"line_number":298,"context_line":"    \"\"\""},{"line_number":299,"context_line":""},{"line_number":300,"context_line":"    return (normalize_none_str(project) + \u0027.\u0027 +"},{"line_number":301,"context_line":"            flavors_suffix)"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"def scope_name_flavors_ids_set(name\u003dNone,"}],"source_content_type":"text/x-python","patch_set":26,"id":"1f485f77_7e91f5f0","line":301,"range":{"start_line":300,"start_character":11,"end_line":301,"end_character":27},"updated":"2017-11-17 09:11:46.000000000","message":"this can be in the same line","commit_id":"226e46ef04695297cd6ca4fac673581dd977adc8"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"00dcdb6b371dd5c9f7efbdc958c174a081b40da3","unresolved":false,"context_lines":[{"line_number":297,"context_line":"    project-id_suffix"},{"line_number":298,"context_line":"    \"\"\""},{"line_number":299,"context_line":""},{"line_number":300,"context_line":"    return (normalize_none_str(project) + \u0027.\u0027 +"},{"line_number":301,"context_line":"            flavors_suffix)"},{"line_number":302,"context_line":""},{"line_number":303,"context_line":""},{"line_number":304,"context_line":"def scope_name_flavors_ids_set(name\u003dNone,"}],"source_content_type":"text/x-python","patch_set":26,"id":"1f485f77_41177ea5","line":301,"range":{"start_line":300,"start_character":11,"end_line":301,"end_character":27},"in_reply_to":"1f485f77_7e91f5f0","updated":"2017-11-17 09:42:34.000000000","message":"ok","commit_id":"226e46ef04695297cd6ca4fac673581dd977adc8"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"6e6f6208210521bbd97811696d07df1205ceb4da","unresolved":false,"context_lines":[{"line_number":309,"context_line":"    flavors_name_suffix"},{"line_number":310,"context_line":"    \"\"\""},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    return (normalize_none_str(name) + \u0027.\u0027 +"},{"line_number":313,"context_line":"            flavors_suffix)"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"def flavor_set_key():"}],"source_content_type":"text/x-python","patch_set":26,"id":"1f485f77_5e8cf9d5","line":313,"range":{"start_line":312,"start_character":12,"end_line":313,"end_character":27},"updated":"2017-11-17 09:11:46.000000000","message":"this too","commit_id":"226e46ef04695297cd6ca4fac673581dd977adc8"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"00dcdb6b371dd5c9f7efbdc958c174a081b40da3","unresolved":false,"context_lines":[{"line_number":309,"context_line":"    flavors_name_suffix"},{"line_number":310,"context_line":"    \"\"\""},{"line_number":311,"context_line":""},{"line_number":312,"context_line":"    return (normalize_none_str(name) + \u0027.\u0027 +"},{"line_number":313,"context_line":"            flavors_suffix)"},{"line_number":314,"context_line":""},{"line_number":315,"context_line":""},{"line_number":316,"context_line":"def flavor_set_key():"}],"source_content_type":"text/x-python","patch_set":26,"id":"1f485f77_010d068f","line":313,"range":{"start_line":312,"start_character":12,"end_line":313,"end_character":27},"in_reply_to":"1f485f77_5e8cf9d5","updated":"2017-11-17 09:42:34.000000000","message":"ok","commit_id":"226e46ef04695297cd6ca4fac673581dd977adc8"}],"zaqar/tests/unit/storage/test_impl_redis.py":[{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"07e65d2323230bf4d3a9bc3d0926b1aa155a41a5","unresolved":false,"context_lines":[{"line_number":25,"context_line":"from zaqar.common import errors"},{"line_number":26,"context_line":"from zaqar import storage"},{"line_number":27,"context_line":"from zaqar.storage import pooling"},{"line_number":28,"context_line":"# from zaqar.storage import redis"},{"line_number":29,"context_line":"from zaqar.storage.redis import controllers"},{"line_number":30,"context_line":"from zaqar.storage.redis import driver"},{"line_number":31,"context_line":"from zaqar.storage.redis import messages"}],"source_content_type":"text/x-python","patch_set":23,"id":"1f485f77_6092e64d","line":28,"updated":"2017-11-14 02:57:20.000000000","message":"I will review it later. first , it is reduant, thanks.","commit_id":"6c14572ab6771a6ff7636e63829da1f2ea15a916"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"6391a836ff2e57035b787e6ce992f88e67712d54","unresolved":false,"context_lines":[{"line_number":25,"context_line":"from zaqar.common import errors"},{"line_number":26,"context_line":"from zaqar import storage"},{"line_number":27,"context_line":"from zaqar.storage import pooling"},{"line_number":28,"context_line":"# from zaqar.storage import redis"},{"line_number":29,"context_line":"from zaqar.storage.redis import controllers"},{"line_number":30,"context_line":"from zaqar.storage.redis import driver"},{"line_number":31,"context_line":"from zaqar.storage.redis import messages"}],"source_content_type":"text/x-python","patch_set":23,"id":"1f485f77_4035aa45","line":28,"in_reply_to":"1f485f77_6092e64d","updated":"2017-11-14 03:06:33.000000000","message":"ok.I remove it.","commit_id":"6c14572ab6771a6ff7636e63829da1f2ea15a916"},{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"933d971af89cfd50d0716a6ffb3349c681215de8","unresolved":false,"context_lines":[{"line_number":545,"context_line":"        # It\u0027s not optimized"},{"line_number":546,"context_line":"        # mocking utcnow mocks the driver too, which"},{"line_number":547,"context_line":"        # requires to put sleeps in the test"},{"line_number":548,"context_line":"        self.skip(\"Fix sqlalchemy driver\")"},{"line_number":549,"context_line":""},{"line_number":550,"context_line":""},{"line_number":551,"context_line":"# NOTE(gengchc2): Unittest for new flavor configure scenario."}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_c092baf6","line":548,"updated":"2017-11-14 03:21:22.000000000","message":"Fix redis driver? or remove it","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"},{"author":{"_account_id":22484,"name":"gengchc2","email":"geng.changcai2@zte.com.cn","username":"gengchc2"},"change_message_id":"cba935de9365afcfc88a53f8760c060f63e11e95","unresolved":false,"context_lines":[{"line_number":545,"context_line":"        # It\u0027s not optimized"},{"line_number":546,"context_line":"        # mocking utcnow mocks the driver too, which"},{"line_number":547,"context_line":"        # requires to put sleeps in the test"},{"line_number":548,"context_line":"        self.skip(\"Fix sqlalchemy driver\")"},{"line_number":549,"context_line":""},{"line_number":550,"context_line":""},{"line_number":551,"context_line":"# NOTE(gengchc2): Unittest for new flavor configure scenario."}],"source_content_type":"text/x-python","patch_set":24,"id":"1f485f77_57118103","line":548,"in_reply_to":"1f485f77_c092baf6","updated":"2017-11-17 07:25:10.000000000","message":"remove it","commit_id":"45c544694b2e02af8a210464e39fc03b96a8159b"}]}
