)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c5b18cd3ef12c5fcb89bcfee7f8a7a91e4172105","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     zhongjun \u003cjun.zhongjun@huawei.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-04-19 15:45:13 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"fix update share instance pool fail"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If the share instance don\u0027t have pool value in host property."},{"line_number":10,"context_line":"The can not update share instance pool when we restart manila"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7ffa3b31_f298db1b","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":1},"updated":"2017-04-19 11:07:40.000000000","message":"F","commit_id":"66994a1a30a6bbce11707331863496335fc501f0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c5b18cd3ef12c5fcb89bcfee7f8a7a91e4172105","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"fix update share instance pool fail"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If the share instance don\u0027t have pool value in host property."},{"line_number":10,"context_line":"The can not update share instance pool when we restart manila"},{"line_number":11,"context_line":"share service. Becuase we use share_update DB function to update"},{"line_number":12,"context_line":"share instance attribute. Now we will change share_update to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7ffa3b31_12bfc761","line":9,"range":{"start_line":9,"start_character":0,"end_line":9,"end_character":2},"updated":"2017-04-19 11:07:40.000000000","message":"I am confused if this sentence is a condition or a statement.\n\n\"If the share instance doesn\u0027t have pool value in host property, ...\" or \"The share instance doesn\u0027t have pool value in host property.\"","commit_id":"66994a1a30a6bbce11707331863496335fc501f0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c5b18cd3ef12c5fcb89bcfee7f8a7a91e4172105","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"fix update share instance pool fail"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If the share instance don\u0027t have pool value in host property."},{"line_number":10,"context_line":"The can not update share instance pool when we restart manila"},{"line_number":11,"context_line":"share service. Becuase we use share_update DB function to update"},{"line_number":12,"context_line":"share instance attribute. Now we will change share_update to"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7ffa3b31_b2a2534a","line":9,"range":{"start_line":9,"start_character":22,"end_line":9,"end_character":27},"updated":"2017-04-19 11:07:40.000000000","message":"doesn\u0027t","commit_id":"66994a1a30a6bbce11707331863496335fc501f0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c5b18cd3ef12c5fcb89bcfee7f8a7a91e4172105","unresolved":false,"context_lines":[{"line_number":7,"context_line":"fix update share instance pool fail"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If the share instance don\u0027t have pool value in host property."},{"line_number":10,"context_line":"The can not update share instance pool when we restart manila"},{"line_number":11,"context_line":"share service. Becuase we use share_update DB function to update"},{"line_number":12,"context_line":"share instance attribute. Now we will change share_update to"},{"line_number":13,"context_line":"share_instance_update"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7ffa3b31_92b2b793","line":10,"range":{"start_line":10,"start_character":0,"end_line":10,"end_character":11},"updated":"2017-04-19 11:07:40.000000000","message":"We cannot","commit_id":"66994a1a30a6bbce11707331863496335fc501f0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c5b18cd3ef12c5fcb89bcfee7f8a7a91e4172105","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If the share instance don\u0027t have pool value in host property."},{"line_number":10,"context_line":"The can not update share instance pool when we restart manila"},{"line_number":11,"context_line":"share service. Becuase we use share_update DB function to update"},{"line_number":12,"context_line":"share instance attribute. Now we will change share_update to"},{"line_number":13,"context_line":"share_instance_update"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7ffa3b31_32a76352","line":11,"range":{"start_line":11,"start_character":13,"end_line":11,"end_character":14},"updated":"2017-04-19 11:07:40.000000000","message":",","commit_id":"66994a1a30a6bbce11707331863496335fc501f0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c5b18cd3ef12c5fcb89bcfee7f8a7a91e4172105","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If the share instance don\u0027t have pool value in host property."},{"line_number":10,"context_line":"The can not update share instance pool when we restart manila"},{"line_number":11,"context_line":"share service. Becuase we use share_update DB function to update"},{"line_number":12,"context_line":"share instance attribute. Now we will change share_update to"},{"line_number":13,"context_line":"share_instance_update"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7ffa3b31_52ac2f33","line":11,"range":{"start_line":11,"start_character":15,"end_line":11,"end_character":22},"updated":"2017-04-19 11:07:40.000000000","message":"because","commit_id":"66994a1a30a6bbce11707331863496335fc501f0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c5b18cd3ef12c5fcb89bcfee7f8a7a91e4172105","unresolved":false,"context_lines":[{"line_number":9,"context_line":"If the share instance don\u0027t have pool value in host property."},{"line_number":10,"context_line":"The can not update share instance pool when we restart manila"},{"line_number":11,"context_line":"share service. Becuase we use share_update DB function to update"},{"line_number":12,"context_line":"share instance attribute. Now we will change share_update to"},{"line_number":13,"context_line":"share_instance_update"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Ief7e70103ed63bbb2f78d0f9eed8351f8470d414"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7ffa3b31_b27013de","line":12,"range":{"start_line":12,"start_character":30,"end_line":12,"end_character":44},"updated":"2017-04-19 11:07:40.000000000","message":"we are changing","commit_id":"66994a1a30a6bbce11707331863496335fc501f0"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"c5b18cd3ef12c5fcb89bcfee7f8a7a91e4172105","unresolved":false,"context_lines":[{"line_number":10,"context_line":"The can not update share instance pool when we restart manila"},{"line_number":11,"context_line":"share service. Becuase we use share_update DB function to update"},{"line_number":12,"context_line":"share instance attribute. Now we will change share_update to"},{"line_number":13,"context_line":"share_instance_update"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Change-Id: Ief7e70103ed63bbb2f78d0f9eed8351f8470d414"},{"line_number":16,"context_line":"Closes-Bug: #1684032"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7ffa3b31_72728be5","line":13,"range":{"start_line":13,"start_character":20,"end_line":13,"end_character":21},"updated":"2017-04-19 11:07:40.000000000","message":"period","commit_id":"66994a1a30a6bbce11707331863496335fc501f0"}],"manila/share/manager.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"7a8bdfcae3b95dd42dc5b1274bfb98032b4ba36b","unresolved":false,"context_lines":[{"line_number":258,"context_line":"            if pool:"},{"line_number":259,"context_line":"                new_host \u003d share_utils.append_host("},{"line_number":260,"context_line":"                    share_instance[\u0027host\u0027], pool)"},{"line_number":261,"context_line":"                self.db.share_instance_update("},{"line_number":262,"context_line":"                    ctxt, share_instance[\u0027id\u0027], {\u0027host\u0027: new_host})"},{"line_number":263,"context_line":""},{"line_number":264,"context_line":"        return pool"},{"line_number":265,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"5ff73747_f247774b","line":262,"range":{"start_line":261,"start_character":16,"end_line":262,"end_character":67},"updated":"2017-04-28 11:16:06.000000000","message":"The fact bug existed means we do not cover it with unit tests.\n\nhere is proof:\n\nhttp://logs.openstack.org/03/457903/3/check/manila-coverage-ubuntu-xenial-nv/8485460/cover/manila_share_manager_py.html#n260\n\nSo, need to cover it with tests.","commit_id":"26a84eef541315dfa91496426b5ab221c4337b07"}],"releasenotes/notes/bug-1684032-6e4502fdceb693dr7.yaml":[{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"e6478def886f1a5f7c2ae9f9951fa4104641ab28","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - Fix update share instance pool fail when we upgrade/restart share"},{"line_number":4,"context_line":"    service and share instance doesn\u0027t have pool value in host property."}],"source_content_type":"text/x-yaml","patch_set":7,"id":"3f044301_3a60ada5","line":4,"range":{"start_line":3,"start_character":4,"end_line":4,"end_character":71},"updated":"2017-05-04 18:47:07.000000000","message":"Suggest a rewrite:\n\n- When upgrading manila to a new release, if a share driver has added support for storage pools in the new release, shares belonging to such drivers would be iteratively updated by manila. This is done by querying the back end driver for the storage pool that each share is hosted within. A bug affecting the database update in this path has been fixed.","commit_id":"966ea777a138d4c2491b9873998b15728a3e660d"}]}
