)]}'
{"docker/swift/swift-rsyncd/extend_start.sh":[{"author":{"_account_id":22582,"name":"Duong Ha-Quang","email":"quangduongha@gmail.com","username":"duonghq"},"change_message_id":"678f19aeb3940506fc7e0bfb4beaf21dbaf73aac","unresolved":false,"context_lines":[{"line_number":5,"context_line":""},{"line_number":6,"context_line":"# Migrate swift database and exit if KOLLA_UPGRADE variable is set."},{"line_number":7,"context_line":"if [[ \"${!KOLLA_UPGRADE[@]}\" ]]; then"},{"line_number":8,"context_line":"        echo \"Stop background Swift jobs\""},{"line_number":9,"context_line":"        swift-init rest stop"},{"line_number":10,"context_line":"        echo \"Gracefully Shutdown all Swift storage processes\""},{"line_number":11,"context_line":"        swift-init {account|container|object} shutdown"},{"line_number":12,"context_line":"        echo \"Start the new storage services\""},{"line_number":13,"context_line":"        swift-init {account|container|object} start"},{"line_number":14,"context_line":"        echo \"Start the background processes\""},{"line_number":15,"context_line":"        swift-init rest start"},{"line_number":16,"context_line":"    exit"},{"line_number":17,"context_line":"fi"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"bf659307_855da548","line":15,"range":{"start_line":8,"start_character":0,"end_line":15,"end_character":29},"updated":"2018-04-11 07:19:52.000000000","message":"We cannot put both stop and start service it one script, due to it only start the old service.\n\nIn other word, we only need to stop the service, and use Kolla-ansible (for example) to pull new image and start new containers.","commit_id":"eed5cbe9e5e62d6588194b226a65fe6df0fd5cdd"},{"author":{"_account_id":27781,"name":"zhulingjie","email":"easyzlj@gmail.com","username":"zhulingjie"},"change_message_id":"11fc8c7f1004138e764a9c3f3e6b2d2bad98b3a2","unresolved":false,"context_lines":[{"line_number":11,"context_line":"    swift-init {account|container|object} shutdown"},{"line_number":12,"context_line":"    exit"},{"line_number":13,"context_line":"fi"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-sh","patch_set":4,"id":"5f7c97a3_607b578b","line":14,"updated":"2018-05-31 02:00:03.000000000","message":"most is lgtm, \nnit need to be fixed, please remove the unnecessary empty line","commit_id":"93e6291a6a441d29cda73133a6a80feffb1ba13f"},{"author":{"_account_id":23717,"name":"Surya Prakash Singh","email":"singh.surya64mnnit@gmail.com","username":"SuryaPrakash"},"change_message_id":"2aeffdc48fe6bb6671903893436648094360e63a","unresolved":false,"context_lines":[{"line_number":11,"context_line":"    swift-init {account|container|object} shutdown"},{"line_number":12,"context_line":"    exit"},{"line_number":13,"context_line":"fi"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-sh","patch_set":4,"id":"5f7c97a3_cd04b24c","line":14,"in_reply_to":"5f7c97a3_607b578b","updated":"2018-06-03 06:54:10.000000000","message":"Done ;)","commit_id":"93e6291a6a441d29cda73133a6a80feffb1ba13f"},{"author":{"_account_id":28176,"name":"Ha Manh Dong","email":"donghm@omzcloud.vn","username":"donghm"},"change_message_id":"385f26b78b5bcc6196b31c239148d3cf22b09246","unresolved":false,"context_lines":[{"line_number":3,"context_line":"sudo chown -R swift:swift /srv/node"},{"line_number":4,"context_line":"mkdir -p /var/lib/swift/lock"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"# Migrate swift database and exit if KOLLA_UPGRADE variable is set."},{"line_number":7,"context_line":"if [[ \"${!KOLLA_STOP_SERVICES[@]}\" ]]; then"},{"line_number":8,"context_line":"    echo \"Stop background Swift jobs\""},{"line_number":9,"context_line":"    swift-init rest stop"}],"source_content_type":"text/x-sh","patch_set":5,"id":"5f7c97a3_29cf6c57","line":6,"range":{"start_line":6,"start_character":37,"end_line":6,"end_character":50},"updated":"2018-07-10 07:49:37.000000000","message":"Should change it to KOLLA_STOP_SERVICES, thanks.","commit_id":"cf824b15e95db61d99ecda45e8c0774f5142d2cb"}]}
