)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":18816,"name":"Maurice Escher","display_name":"carthaca","email":"maurice.escher@sap.com","username":"mapocace"},"change_message_id":"368d4ea8e11d52ab5e0fa155513d5c7b43e4b16e","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"6d54595f_4e4ef22d","updated":"2022-11-04 11:47:21.000000000","message":"can be abandoned, the bug was addressed by https://review.opendev.org/c/openstack/manila/+/762725","commit_id":"47b757e62b11ae4b365a0b649e199179f92955e2"}],"manila/share/driver.py":[{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"02aee6af365d43a8d0df3e1c4be0e23ff1a43412","unresolved":false,"context_lines":[{"line_number":136,"context_line":"               default\u003d15,"},{"line_number":137,"context_line":"               help\u003d\u0027This value determines how many shares are allowed \u0027"},{"line_number":138,"context_line":"                    \u0027per one share server.\u0027"},{"line_number":139,"context_line":"                    \u0027If exceeded another share server will be created\u0027),"},{"line_number":140,"context_line":"]"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"ssh_opts \u003d ["}],"source_content_type":"text/x-python","patch_set":1,"id":"7f515b1d_09a0a98f","line":139,"range":{"start_line":139,"start_character":67,"end_line":139,"end_character":70},"updated":"2017-10-09 16:20:27.000000000","message":"add .","commit_id":"359a69a88f9704b27affdd5c2aa0310af5877920"},{"author":{"_account_id":7102,"name":"Thomas Bechtold","email":"thomas.bechtold@chainguard.dev","username":"toabctl"},"change_message_id":"04ddf63641070805339d7202e3faef1d0f9c3304","unresolved":false,"context_lines":[{"line_number":868,"context_line":"                                                  share_group\u003dNone):"},{"line_number":869,"context_line":"        \"\"\"Method that allows driver to choose share server for provided share."},{"line_number":870,"context_line":""},{"line_number":871,"context_line":"        If compatible share-server is not found, method should return None."},{"line_number":872,"context_line":""},{"line_number":873,"context_line":"        :param context: Current context"},{"line_number":874,"context_line":"        :param share_servers: list with share-server models"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f515b1d_f523e9a5","line":871,"updated":"2017-10-09 12:58:05.000000000","message":"This method is for *all* drivers that support share servers. Not sure if we want/need a limit in general.\nYou mention in the commit msg that you want to improve the generic driver. Then this is the wrong place afaik.","commit_id":"359a69a88f9704b27affdd5c2aa0310af5877920"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"02aee6af365d43a8d0df3e1c4be0e23ff1a43412","unresolved":false,"context_lines":[{"line_number":884,"context_line":"        # If creating in a share group, use its share server"},{"line_number":885,"context_line":"        if share_group:"},{"line_number":886,"context_line":"            valid_servers \u003d [ss for ss in share_servers if ("},{"line_number":887,"context_line":"                (\u0027share_instances\u0027 in ss"},{"line_number":888,"context_line":"                 and ss[\u0027share_instances\u0027] \u003c max_shares)"},{"line_number":889,"context_line":"                or \u0027share_instances\u0027 not in ss)]"},{"line_number":890,"context_line":"            for share_server in valid_servers:"},{"line_number":891,"context_line":"                if (share_group.get(\u0027share_server_id\u0027) \u003d\u003d"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f515b1d_89e259d4","line":888,"range":{"start_line":887,"start_character":17,"end_line":888,"end_character":42},"updated":"2017-10-09 16:20:27.000000000","message":"ss.get(\u0027share_instances\u0027, 0) for short","commit_id":"359a69a88f9704b27affdd5c2aa0310af5877920"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"02aee6af365d43a8d0df3e1c4be0e23ff1a43412","unresolved":false,"context_lines":[{"line_number":894,"context_line":"            return None"},{"line_number":895,"context_line":""},{"line_number":896,"context_line":"        for share_server in share_servers:"},{"line_number":897,"context_line":"            if \u0027share_instances\u0027 in share_server and len("},{"line_number":898,"context_line":"                    share_server[\u0027share_instances\u0027]) \u003c max_shares:"},{"line_number":899,"context_line":"                return share_server"},{"line_number":900,"context_line":"            # This should never happen, kept for backward compatibility"},{"line_number":901,"context_line":"            elif \u0027share_instances\u0027 not in share_server:"},{"line_number":902,"context_line":"                return share_server"},{"line_number":903,"context_line":""},{"line_number":904,"context_line":"    def choose_share_server_compatible_with_share_group("}],"source_content_type":"text/x-python","patch_set":1,"id":"7f515b1d_89301958","line":901,"range":{"start_line":897,"start_character":0,"end_line":901,"end_character":55},"updated":"2017-10-09 16:20:27.000000000","message":"this too","commit_id":"359a69a88f9704b27affdd5c2aa0310af5877920"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"121085e41a0d8889aa86aae8b3bdd348df9f3b99","unresolved":false,"context_lines":[{"line_number":136,"context_line":"               default\u003d0,"},{"line_number":137,"context_line":"               help\u003d\u0027This value determines how many shares are allowed \u0027"},{"line_number":138,"context_line":"                    \u0027per one share server. \u0027"},{"line_number":139,"context_line":"                    \u0027If exceeded another share server will be created.\u0027"},{"line_number":140,"context_line":"                    \u00270 means no limit, recommended value for generic driver\u0027"},{"line_number":141,"context_line":"                    \u0027is 15.\u0027"},{"line_number":142,"context_line":"               ),"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_624876b2","line":139,"range":{"start_line":139,"start_character":69,"end_line":139,"end_character":71},"updated":"2018-06-10 12:29:17.000000000","message":"Add a space.","commit_id":"47b757e62b11ae4b365a0b649e199179f92955e2"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"121085e41a0d8889aa86aae8b3bdd348df9f3b99","unresolved":false,"context_lines":[{"line_number":137,"context_line":"               help\u003d\u0027This value determines how many shares are allowed \u0027"},{"line_number":138,"context_line":"                    \u0027per one share server. \u0027"},{"line_number":139,"context_line":"                    \u0027If exceeded another share server will be created.\u0027"},{"line_number":140,"context_line":"                    \u00270 means no limit, recommended value for generic driver\u0027"},{"line_number":141,"context_line":"                    \u0027is 15.\u0027"},{"line_number":142,"context_line":"               ),"},{"line_number":143,"context_line":"]"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f7c97a3_a2520e66","line":140,"range":{"start_line":140,"start_character":74,"end_line":140,"end_character":76},"updated":"2018-06-10 12:29:17.000000000","message":"add a space","commit_id":"47b757e62b11ae4b365a0b649e199179f92955e2"}],"releasenotes/notes/bug-1713443-limiting-number-of-shares-per-service-instance-faf176b54f3a886b.yaml":[{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"02aee6af365d43a8d0df3e1c4be0e23ff1a43412","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Generic driver - limited number of shares served by service instance"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"7f515b1d_89949938","line":3,"range":{"start_line":3,"start_character":64,"end_line":3,"end_character":72},"updated":"2017-10-09 16:20:27.000000000","message":"add . at the end of line","commit_id":"359a69a88f9704b27affdd5c2aa0310af5877920"},{"author":{"_account_id":23630,"name":"Tovin Seven","email":"tovin07@gmail.com","username":"tovin07"},"change_message_id":"02aee6af365d43a8d0df3e1c4be0e23ff1a43412","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Generic driver - limited number of shares served by service instance"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"7f515b1d_c9705143","line":3,"range":{"start_line":3,"start_character":2,"end_line":3,"end_character":4},"updated":"2017-10-09 16:20:27.000000000","message":"add |","commit_id":"359a69a88f9704b27affdd5c2aa0310af5877920"},{"author":{"_account_id":9003,"name":"Tom Barron","email":"tpb@dyncloud.net","username":"tbarron"},"change_message_id":"121085e41a0d8889aa86aae8b3bdd348df9f3b99","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Limiting number of shares served by service instance."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"5f7c97a3_02c74214","line":3,"range":{"start_line":3,"start_character":4,"end_line":3,"end_character":57},"updated":"2018-06-10 12:29:17.000000000","message":"New configuration option to limit the number of shares served by a share server.","commit_id":"47b757e62b11ae4b365a0b649e199179f92955e2"}]}
