)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"be7c986faecd9ddf8e1bd0913e60a3966ab94d21","unresolved":true,"context_lines":[{"line_number":17,"context_line":"can get duplicated entries and we can have one entry overwriting the"},{"line_number":18,"context_line":"data written by another request."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"The quota_usages table does soft deletes, so so the project_id and"},{"line_number":21,"context_line":"resource fields are not enough for a unique constraint, so we add a new"},{"line_number":22,"context_line":"column called race_preventer so we can have a unique constraint with the"},{"line_number":23,"context_line":"3 fields."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"0976cf3c_5bf80af4","line":20,"range":{"start_line":20,"start_character":42,"end_line":20,"end_character":47},"updated":"2021-03-22 21:11:07.000000000","message":"nit: duplicated word","commit_id":"7a1e3fc15403e5416635632c7053a473b10ef1b8"},{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"fba2d9749479b3096e9388a53be5fa16e3a652f8","unresolved":false,"context_lines":[{"line_number":17,"context_line":"can get duplicated entries and we can have one entry overwriting the"},{"line_number":18,"context_line":"data written by another request."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"The quota_usages table does soft deletes, so so the project_id and"},{"line_number":21,"context_line":"resource fields are not enough for a unique constraint, so we add a new"},{"line_number":22,"context_line":"column called race_preventer so we can have a unique constraint with the"},{"line_number":23,"context_line":"3 fields."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3431ebc4_bae3467b","line":20,"range":{"start_line":20,"start_character":42,"end_line":20,"end_character":47},"in_reply_to":"0976cf3c_5bf80af4","updated":"2021-03-26 11:28:35.000000000","message":"Done","commit_id":"7a1e3fc15403e5416635632c7053a473b10ef1b8"},{"author":{"_account_id":5314,"name":"Brian Rosmaita","email":"rosmaita.fossdev@gmail.com","username":"brian-rosmaita"},"change_message_id":"be7c986faecd9ddf8e1bd0913e60a3966ab94d21","unresolved":true,"context_lines":[{"line_number":29,"context_line":"With these 2 changes we\u0027ll avoid duplicated entries as well as avoid"},{"line_number":30,"context_line":"getting our quota usage out of sync right from the start."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"For the unique constraint part of the code there were 2 alternatives"},{"line_number":33,"context_line":"(one was even used in an earlier patchset):"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"- Create a virtual/computed column for the Table that sets it to a fixed"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"1a5b9025_190019ee","line":32,"updated":"2021-03-22 21:11:07.000000000","message":"Thanks for including this part.","commit_id":"7a1e3fc15403e5416635632c7053a473b10ef1b8"},{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"fba2d9749479b3096e9388a53be5fa16e3a652f8","unresolved":false,"context_lines":[{"line_number":29,"context_line":"With these 2 changes we\u0027ll avoid duplicated entries as well as avoid"},{"line_number":30,"context_line":"getting our quota usage out of sync right from the start."},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"For the unique constraint part of the code there were 2 alternatives"},{"line_number":33,"context_line":"(one was even used in an earlier patchset):"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"- Create a virtual/computed column for the Table that sets it to a fixed"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"49194659_1f6e8745","line":32,"in_reply_to":"1a5b9025_190019ee","updated":"2021-03-26 11:28:35.000000000","message":"No problem, I think it\u0027s worth adding this information to the commit message so we don\u0027t have to dig through review comments in the future.","commit_id":"7a1e3fc15403e5416635632c7053a473b10ef1b8"}]}
