)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":8833,"name":"Rabi Mishra","email":"ramishra@redhat.com","username":"rabi"},"change_message_id":"3095a3eb6c16b041c0d20312b62c376c256cedf9","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Swift: Stop *-server process gracefully"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Sending SIGTERM to a swift-*-server processes terminates the process"},{"line_number":10,"context_line":"immediately and can interrupt API requests. On the other hand SIGHUP"},{"line_number":11,"context_line":"is used to terminate the process gracefully and the process stops"},{"line_number":12,"context_line":"after it completeis all on-going requests."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"3dceb92b_4b3e869d","line":9,"range":{"start_line":9,"start_character":8,"end_line":9,"end_character":15},"updated":"2021-10-06 08:49:33.000000000","message":"Are we sure? Is this specific to swift? Normally SIGTERM should wait for the application to stop.\n\nSIGHUP would restart I think (used to reload configurations etc)","commit_id":"27fe183a7647a4e73847ba2282f7899f5c9deb44"},{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"c0b46ad8ddb223d3027ba73121b878e7ad9f4b0a","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Swift: Stop *-server process gracefully"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Sending SIGTERM to a swift-*-server processes terminates the process"},{"line_number":10,"context_line":"immediately and can interrupt API requests. On the other hand SIGHUP"},{"line_number":11,"context_line":"is used to terminate the process gracefully and the process stops"},{"line_number":12,"context_line":"after it completeis all on-going requests."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"66f4a997_47b2a223","line":9,"range":{"start_line":9,"start_character":8,"end_line":9,"end_character":15},"in_reply_to":"3dceb92b_4b3e869d","updated":"2021-10-06 09:00:27.000000000","message":"Swift has a different usage of signals and uses SIGHUP for graceful shutdown aid SIGUSR1 for reload.\n\nhttps://github.com/openstack/swift/blob/029e57679c639edda87816482685b8f48de67dd9/swift/common/manager.py#L715-L732\n\nI\u0027m adding Christian and would like to ask him to double check my above understanding.","commit_id":"27fe183a7647a4e73847ba2282f7899f5c9deb44"}]}
