)]}'
{"specs/ocata/approved/glance/db-archiving.rst":[{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"e521450baa354df55e2969616287198e3ff01829","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"* Currently db purge command is used to cleanup the database but it does"},{"line_number":26,"context_line":"  not create any backup of the deleted data which may be used if required"},{"line_number":27,"context_line":"  by any deployers."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"Proposed change"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_7776f33e","line":27,"updated":"2016-08-11 13:45:39.000000000","message":"This is a good point.","commit_id":"907d2b89f4bd021eba2bfbf5b8aa812d03860030"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"58b23032e61d2c647dde6e51ea2dc53bd5a74674","unresolved":false,"context_lines":[{"line_number":52,"context_line":"Data model impact"},{"line_number":53,"context_line":"-----------------"},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"* Create shadow tables"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"* Implement migrations to store current \"deleted\" rows in shadow table"},{"line_number":58,"context_line":""}],"source_content_type":"text/x-rst","patch_set":2,"id":"3ac371cc_ea2878e4","line":55,"range":{"start_line":55,"start_character":2,"end_line":55,"end_character":22},"updated":"2016-08-17 07:17:15.000000000","message":"Does it mean that a shadow table is created for each table?\n\ne.g. images -\u003e shadow_images\n     image_locations -\u003e shadow_image_locations\n\nPlease clarify it.","commit_id":"907d2b89f4bd021eba2bfbf5b8aa812d03860030"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"e521450baa354df55e2969616287198e3ff01829","unresolved":false,"context_lines":[{"line_number":57,"context_line":"* Implement migrations to store current \"deleted\" rows in shadow table"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"* Shadow tables could have blob field to store some \"deleted\" data and to not"},{"line_number":60,"context_line":"  impose restrictions on database schema changes."},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"REST API impact"},{"line_number":63,"context_line":"---------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"9ad45d7e_b77cebec","line":60,"updated":"2016-08-11 13:45:39.000000000","message":"Are you thinking of storing the content of the row from the original table as JSON or something?  Would that make these tables useless if we wanted to display deleted data via the API?  (Just trying to think through the implications of this.)  Looks like this would make the tables useful for archiving only (which isn\u0027t necessarily bad).","commit_id":"907d2b89f4bd021eba2bfbf5b8aa812d03860030"},{"author":{"_account_id":7634,"name":"Takashi Natsume","email":"takanattie@gmail.com","username":"natsumet"},"change_message_id":"58b23032e61d2c647dde6e51ea2dc53bd5a74674","unresolved":false,"context_lines":[{"line_number":114,"context_line":"Work Items"},{"line_number":115,"context_line":"----------"},{"line_number":116,"context_line":""},{"line_number":117,"context_line":"None"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":""},{"line_number":120,"context_line":"Dependencies"}],"source_content_type":"text/x-rst","patch_set":2,"id":"3ac371cc_2afbb048","line":117,"range":{"start_line":117,"start_character":0,"end_line":117,"end_character":4},"updated":"2016-08-17 07:17:15.000000000","message":"None?\nPlease add it.","commit_id":"907d2b89f4bd021eba2bfbf5b8aa812d03860030"}]}
