)]}'
{"specs/queens/ensure-share.rst":[{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"3174bd091f8762666af6cc6b1106cebe5cb96b0e","unresolved":false,"context_lines":[{"line_number":71,"context_line":"dictionary. Drivers will have complete control of the contents of the"},{"line_number":72,"context_line":"dictionary to be hashed. Driver can include any of the following:"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"1. The ID of the most recent DB migration. Including this value guarantees"},{"line_number":75,"context_line":"   that ensure_shares will be called after DB schema changes."},{"line_number":76,"context_line":"2. Any of the keys and values in the oslo config object. Including these"},{"line_number":77,"context_line":"   values guarantees that ensure_shares is called whenever the config file"},{"line_number":78,"context_line":"   changes in a way that impacts the driver."}],"source_content_type":"text/x-rst","patch_set":1,"id":"5f4e5783_59136e5d","line":75,"range":{"start_line":74,"start_character":4,"end_line":75,"end_character":61},"updated":"2017-10-11 20:44:25.000000000","message":"AFAIK there is no way for drivers to obtain this information so it can be returned to the share manager. Please let me know if there actually is a way","commit_id":"a998ae0a99ebd1648b3706e70550fefbe5155e9b"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"3d71600ee5c68536e9d5d48d458ff0de011c64fe","unresolved":false,"context_lines":[{"line_number":71,"context_line":"dictionary. Drivers will have complete control of the contents of the"},{"line_number":72,"context_line":"dictionary to be hashed. Driver can include any of the following:"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"1. The ID of the most recent DB migration. Including this value guarantees"},{"line_number":75,"context_line":"   that ensure_shares will be called after DB schema changes."},{"line_number":76,"context_line":"2. Any of the keys and values in the oslo config object. Including these"},{"line_number":77,"context_line":"   values guarantees that ensure_shares is called whenever the config file"},{"line_number":78,"context_line":"   changes in a way that impacts the driver."}],"source_content_type":"text/x-rst","patch_set":1,"id":"5f4e5783_9e454346","line":75,"range":{"start_line":74,"start_character":4,"end_line":75,"end_character":61},"in_reply_to":"5f4e5783_59136e5d","updated":"2017-10-12 03:36:22.000000000","message":"It is up to how to implement in code. We could provide the interface to driver to get the ID of the most recent DB migration, like the driver get share_type, metedata info from DB does. The driver could choice how to update the info.","commit_id":"a998ae0a99ebd1648b3706e70550fefbe5155e9b"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"fd008a65c02f6169fddcc397ac0ed29ec571a9fb","unresolved":false,"context_lines":[{"line_number":71,"context_line":"dictionary. Drivers will have complete control of the contents of the"},{"line_number":72,"context_line":"dictionary to be hashed. Driver can include any of the following:"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"1. The ID of the most recent DB migration. Including this value guarantees"},{"line_number":75,"context_line":"   that ensure_shares will be called after DB schema changes."},{"line_number":76,"context_line":"2. Any of the keys and values in the oslo config object. Including these"},{"line_number":77,"context_line":"   values guarantees that ensure_shares is called whenever the config file"},{"line_number":78,"context_line":"   changes in a way that impacts the driver."}],"source_content_type":"text/x-rst","patch_set":1,"id":"5f4e5783_a753f538","line":75,"range":{"start_line":74,"start_character":4,"end_line":75,"end_character":61},"in_reply_to":"5f4e5783_8700f902","updated":"2017-10-16 12:44:41.000000000","message":"Do we really need all interface in spec? It looks like a simple internal interface  for driver or other places, the driver don\u0027t need to implement it, just use it or not. We could discuss it","commit_id":"a998ae0a99ebd1648b3706e70550fefbe5155e9b"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"a2221b8bb06bd21ea73443a7e8635d5191285211","unresolved":false,"context_lines":[{"line_number":71,"context_line":"dictionary. Drivers will have complete control of the contents of the"},{"line_number":72,"context_line":"dictionary to be hashed. Driver can include any of the following:"},{"line_number":73,"context_line":""},{"line_number":74,"context_line":"1. The ID of the most recent DB migration. Including this value guarantees"},{"line_number":75,"context_line":"   that ensure_shares will be called after DB schema changes."},{"line_number":76,"context_line":"2. Any of the keys and values in the oslo config object. Including these"},{"line_number":77,"context_line":"   values guarantees that ensure_shares is called whenever the config file"},{"line_number":78,"context_line":"   changes in a way that impacts the driver."}],"source_content_type":"text/x-rst","patch_set":1,"id":"5f4e5783_8700f902","line":75,"range":{"start_line":74,"start_character":4,"end_line":75,"end_character":61},"in_reply_to":"5f4e5783_9e454346","updated":"2017-10-16 11:23:38.000000000","message":"So I believe this should be included as part of this work, to write an interface that allows drivers to obtain the latest DB migration ID.","commit_id":"a998ae0a99ebd1648b3706e70550fefbe5155e9b"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"3174bd091f8762666af6cc6b1106cebe5cb96b0e","unresolved":false,"context_lines":[{"line_number":224,"context_line":"Work items"},{"line_number":225,"context_line":"----------"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* Implement the core feature with functional tempest and scenario test"},{"line_number":228,"context_line":"  coverage"},{"line_number":229,"context_line":"* Convert all ensure_share() methods to ensure_shares()"},{"line_number":230,"context_line":"* Implement get_backend_info() in first party drivers."},{"line_number":231,"context_line":"* Add documentation of this feature"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5f4e5783_7944ea1b","line":228,"range":{"start_line":227,"start_character":35,"end_line":228,"end_character":10},"updated":"2017-10-11 20:44:25.000000000","message":"according to the statement below in the \"Testing\" section, you should replace this with \"Implement the core feature with unit tests\"","commit_id":"a998ae0a99ebd1648b3706e70550fefbe5155e9b"},{"author":{"_account_id":15100,"name":"zhongjun","email":"jun.zhongjun2@gmail.com","username":"zhongjun2"},"change_message_id":"3d71600ee5c68536e9d5d48d458ff0de011c64fe","unresolved":false,"context_lines":[{"line_number":224,"context_line":"Work items"},{"line_number":225,"context_line":"----------"},{"line_number":226,"context_line":""},{"line_number":227,"context_line":"* Implement the core feature with functional tempest and scenario test"},{"line_number":228,"context_line":"  coverage"},{"line_number":229,"context_line":"* Convert all ensure_share() methods to ensure_shares()"},{"line_number":230,"context_line":"* Implement get_backend_info() in first party drivers."},{"line_number":231,"context_line":"* Add documentation of this feature"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5f4e5783_3e09af2b","line":228,"range":{"start_line":227,"start_character":35,"end_line":228,"end_character":10},"in_reply_to":"5f4e5783_7944ea1b","updated":"2017-10-12 03:36:22.000000000","message":"Done","commit_id":"a998ae0a99ebd1648b3706e70550fefbe5155e9b"}]}
