)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"change_message_id":"facc9f16e2f3fca374359b07ffdc59ee97717325","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"535d1a2a_14bcb959","updated":"2026-11-11 15:40:59.000000000","message":"It\u0027s going to have negative performance impact, but there is no good way around.","commit_id":"f5ab11f1e04ae3e62ea1560ff8d5e9f3ed9b1d8e"}],"keystone/resource/core.py":[{"author":{"_account_id":27900,"name":"Artem Goncharov","email":"artem.goncharov@gmail.com","username":"gtema"},"change_message_id":"facc9f16e2f3fca374359b07ffdc59ee97717325","unresolved":true,"context_lines":[{"line_number":433,"context_line":"            )"},{"line_number":434,"context_line":"            ret \u003d self.driver.update_project(project_id, project)"},{"line_number":435,"context_line":"        except exception.Conflict:"},{"line_number":436,"context_line":"            raise exception.Conflict("},{"line_number":437,"context_line":"                type\u003d\u0027project\u0027,"},{"line_number":438,"context_line":"                details\u003dself._generate_project_name_conflict_msg("},{"line_number":439,"context_line":"                    project, project_id"}],"source_content_type":"text/x-python","patch_set":1,"id":"8b274d1d_a15c0656","line":436,"updated":"2026-11-11 15:40:59.000000000","message":"cache is left stale if the Conflict is raised. It\u0027s unlikely to happen, but is not impossible.","commit_id":"f5ab11f1e04ae3e62ea1560ff8d5e9f3ed9b1d8e"},{"author":{"_account_id":39583,"name":"Noppakorn Kaewsalabnil","email":"noppakorn@nipa.cloud","username":"PunGrumpy"},"change_message_id":"9e935f4ba7aaedc3c328651e912ffbdd94135f77","unresolved":false,"context_lines":[{"line_number":433,"context_line":"            )"},{"line_number":434,"context_line":"            ret \u003d self.driver.update_project(project_id, project)"},{"line_number":435,"context_line":"        except exception.Conflict:"},{"line_number":436,"context_line":"            raise exception.Conflict("},{"line_number":437,"context_line":"                type\u003d\u0027project\u0027,"},{"line_number":438,"context_line":"                details\u003dself._generate_project_name_conflict_msg("},{"line_number":439,"context_line":"                    project, project_id"}],"source_content_type":"text/x-python","patch_set":1,"id":"ada2856d_88de528f","line":436,"in_reply_to":"8b274d1d_a15c0656","updated":"2026-11-12 02:48:28.000000000","message":"Good catch. That path was already stale before this change: the cascade\nwrites the children straight through the driver, and their get_project\nentries are never invalidated either, so a Conflict leaves more than this\nregion behind. I\u0027d like to keep this one small and fix the cascade +\nConflict path in a follow-up, if that works for you.","commit_id":"f5ab11f1e04ae3e62ea1560ff8d5e9f3ed9b1d8e"},{"author":{"_account_id":39583,"name":"Noppakorn Kaewsalabnil","email":"noppakorn@nipa.cloud","username":"PunGrumpy"},"change_message_id":"01e44311e19447f27ad6c87d0182b3d766c6359a","unresolved":false,"context_lines":[{"line_number":433,"context_line":"            )"},{"line_number":434,"context_line":"            ret \u003d self.driver.update_project(project_id, project)"},{"line_number":435,"context_line":"        except exception.Conflict:"},{"line_number":436,"context_line":"            raise exception.Conflict("},{"line_number":437,"context_line":"                type\u003d\u0027project\u0027,"},{"line_number":438,"context_line":"                details\u003dself._generate_project_name_conflict_msg("},{"line_number":439,"context_line":"                    project, project_id"}],"source_content_type":"text/x-python","patch_set":1,"id":"5453f38f_8acb676e","line":436,"in_reply_to":"8b274d1d_a15c0656","updated":"2026-11-12 03:53:14.000000000","message":"Thanks, good catch. The cascade writes the subtree before the parent update, so a Conflict there left the region stale. PS2 invalidates it on that path too and adds a test that fails without it.","commit_id":"f5ab11f1e04ae3e62ea1560ff8d5e9f3ed9b1d8e"}]}
