)]}'
{"id":"openstack%2Fswift~689568","triplet_id":"openstack%2Fswift~stable%2Fstein~I47e0663e67daea8f1cf4eaf3c47e7c8429fd81bc","project":"openstack/swift","branch":"stable/stein","topic":"bug/1840322","hashtags":[],"change_id":"I47e0663e67daea8f1cf4eaf3c47e7c8429fd81bc","subject":"versioned_writes: checks for SLO object before copy","status":"MERGED","created":"2019-10-18 19:54:24.000000000","updated":"2019-10-19 02:05:54.000000000","submitted":"2019-10-19 02:05:54.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"689568-1571450754251-70f2cce9","meta_rev_id":"62fc519d6720b345d02498431b2adcb487bc6d7c","_number":689568,"virtual_id_number":689568,"owner":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":30970,"name":"Nguyen Quoc Viet","email":"nguyenqviet98@gmail.com","username":"bluv"},{"tag":"autogenerated:zuul:gate","value":2,"date":"2019-10-19 02:05:53.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"all":[{"value":0,"_account_id":30970,"name":"Nguyen Quoc Viet","email":"nguyenqviet98@gmail.com","username":"bluv"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":2,"date":"2019-10-18 23:58:32.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"all":[{"value":0,"date":"2019-10-18 19:54:24.000000000","_account_id":30970,"name":"Nguyen Quoc Viet","email":"nguyenqviet98@gmail.com","username":"bluv"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":1,"date":"2019-10-18 23:58:32.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":30970,"name":"Nguyen Quoc Viet","email":"nguyenqviet98@gmail.com","username":"bluv"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2019-10-18 19:54:24.000000000","updated_by":{"_account_id":30970,"name":"Nguyen Quoc Viet","email":"nguyenqviet98@gmail.com","username":"bluv"},"reviewer":{"_account_id":30970,"name":"Nguyen Quoc Viet","email":"nguyenqviet98@gmail.com","username":"bluv"},"state":"REVIEWER"},{"updated":"2019-10-19 02:05:53.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"}],"messages":[{"id":"6f8b78af4d30418c19aa768a650180ef6173b794","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2019-10-18 19:54:24.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"dd84fabf715419f4d774cf666ee0575658746009","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-10-18 20:29:24.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/9b9ac9c71fd54ca4bf7c7df7a9bdc8bb : SUCCESS in 5m 56s\n- swift-tox-py27 https://zuul.opendev.org/t/openstack/build/4d98f8d40cea4b9aa638a0c3cd6a7b25 : SUCCESS in 12m 08s\n- swift-tox-py35 https://zuul.opendev.org/t/openstack/build/df90e16c0c154f3fb3eb41744b4451f4 : SUCCESS in 9m 44s\n- swift-tox-py36 https://zuul.opendev.org/t/openstack/build/5da7c5a0891e473ba677e9ffaf2cfc48 : SUCCESS in 9m 16s (non-voting)\n- swift-tox-py37 https://zuul.opendev.org/t/openstack/build/1de9440648694ad581308f48a775283a : SUCCESS in 9m 39s (non-voting)\n- swift-tox-func https://zuul.opendev.org/t/openstack/build/7dd1494105a74b798b544fe99c156762 : SUCCESS in 9m 06s\n- swift-tox-func-encryption https://zuul.opendev.org/t/openstack/build/bfb44ab000584f24932ec2d3e45ac32b : SUCCESS in 9m 50s\n- swift-tox-func-domain-remap-staticweb https://zuul.opendev.org/t/openstack/build/cfb42fa514954374adc21bedf66aeab8 : SUCCESS in 9m 36s\n- swift-tox-func-ec https://zuul.opendev.org/t/openstack/build/f8de897f658843f1a8bc2fd7a74efe0b : SUCCESS in 10m 03s\n- swift-tox-func-s3api https://zuul.opendev.org/t/openstack/build/eb98cf6cb410464fa8c15e607e911781 : SUCCESS in 10m 52s\n- swift-tox-func-s3api-ceph-s3tests-tempauth https://zuul.opendev.org/t/openstack/build/4083fc60f3cd450da3d4db58d83ce60b : SUCCESS in 15m 49s (non-voting)\n- swift-probetests-centos-7 https://zuul.opendev.org/t/openstack/build/e615925da8db44c0aa921e093bfc5b72 : SUCCESS in 33m 36s\n- swift-dsvm-functional https://zuul.opendev.org/t/openstack/build/1dbd0b6948624e9ab628958ea1efa2a1 : SUCCESS in 27m 42s\n- swift-dsvm-functional-ipv6 https://zuul.opendev.org/t/openstack/build/df304dbcfa81461594d31bae4086fbc8 : SUCCESS in 27m 28s\n- swift-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/e0f7a44d776d48c9a7bb66ef1820b476 : SUCCESS in 11m 29s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/dd6cf1403e3148eab0170dc8606ff823 : SUCCESS in 5m 51s\n- swift-multinode-rolling-upgrade https://zuul.opendev.org/t/openstack/build/489ae5e9759e4651ad2e54cc46fad09d : FAILURE in 15m 15s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"0c756a2cb49bde81a8bb1f1a583ac2f9b63e37fb","author":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"date":"2019-10-18 23:58:32.000000000","message":"Patch Set 1: Code-Review+2 Workflow+1\n\nClean backport, fixes bug, test guards against regression.","accounts_in_message":[],"_revision_number":1},{"id":"3ca1612e1b8d89d91abca5bdc0cf952006a0b494","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-10-18 23:58:54.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":1},{"id":"1c9cc48db34dea76e7c2e3834777eee5c12b5bcb","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-10-19 02:05:53.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/452132da201e4272b835b9f3582a2b1b : SUCCESS in 5m 06s\n- swift-tox-py27 https://zuul.opendev.org/t/openstack/build/ec8e650910c2445494f01bf59099b88b : SUCCESS in 11m 24s\n- swift-tox-py35 https://zuul.opendev.org/t/openstack/build/e4100e9d174844fbb6a36b38354f1926 : SUCCESS in 8m 49s\n- swift-tox-func https://zuul.opendev.org/t/openstack/build/b46ef9451632417e829a9ef657329803 : SUCCESS in 9m 23s\n- swift-tox-func-encryption https://zuul.opendev.org/t/openstack/build/753fd27b894447d081dd8b8e1c113d28 : SUCCESS in 8m 48s\n- swift-tox-func-domain-remap-staticweb https://zuul.opendev.org/t/openstack/build/830a6314e62446a1b1163074a37e796f : SUCCESS in 10m 47s\n- swift-tox-func-ec https://zuul.opendev.org/t/openstack/build/3d86b2f17fbd476681fae542891be29d : SUCCESS in 8m 35s\n- swift-tox-func-s3api https://zuul.opendev.org/t/openstack/build/8a6853b338fd4e77bd6d34b9fc2bd2a0 : SUCCESS in 10m 18s\n- swift-probetests-centos-7 https://zuul.opendev.org/t/openstack/build/a52c8086c47346c18cc275563bb10b2c : SUCCESS in 31m 14s\n- swift-dsvm-functional https://zuul.opendev.org/t/openstack/build/c163d8b9938e4d8da755a0ba8229e240 : SUCCESS in 26m 15s\n- swift-dsvm-functional-ipv6 https://zuul.opendev.org/t/openstack/build/43221f916b7e4945a2d4a6a2bfdfa91c : SUCCESS in 26m 41s\n- swift-tox-lower-constraints https://zuul.opendev.org/t/openstack/build/5c02cfebe30543ff8882030a38144d83 : SUCCESS in 12m 45s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/05b7443665f8471cb3b689692ffd21cd : SUCCESS in 5m 38s","accounts_in_message":[],"_revision_number":1},{"id":"6e5e9aa10206c20206db48860510ecb42f1ea5ce","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2019-10-19 02:05:54.000000000","message":"Change has been successfully merged by Zuul","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"a556c2b5f739db863c1bcb8cea2dc6c31144ff13","revisions":{"a556c2b5f739db863c1bcb8cea2dc6c31144ff13":{"kind":"REWORK","_number":1,"created":"2019-10-18 19:54:24.000000000","uploader":{"_account_id":15343,"name":"Tim Burke","email":"tburke@nvidia.com","username":"tburke"},"ref":"refs/changes/68/689568/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/swift","ref":"refs/changes/68/689568/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/swift refs/changes/68/689568/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/swift refs/changes/68/689568/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/swift refs/changes/68/689568/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/swift refs/changes/68/689568/1"}}},"commit":{"parents":[{"commit":"3d5f7aa41db7dd06e0965bd7494f2b23e7caf3f3","subject":"Merge \"doc: Fix the swift middleware doc needs more info  to set s3 api\" into stable/stein","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/swift/commit/3d5f7aa41db7dd06e0965bd7494f2b23e7caf3f3"}]}],"author":{"name":"Nguyen Quoc Viet","email":"nguyenqviet98@gmail.com","date":"2019-09-12 04:31:42.000000000","tz":420},"committer":{"name":"Tim Burke","email":"tim.burke@gmail.com","date":"2019-10-18 19:49:32.000000000","tz":-420},"subject":"versioned_writes: checks for SLO object before copy","message":"versioned_writes: checks for SLO object before copy\n\nPreviously, versioned_writes middleware copy an already existing\nobject using PUT. However, SLO requires the additional query\nto properly update the object size when listing.\n\nPropose fix: In _put_versioned_obj - which is called when on\ncreating version obj and also on restoring obj,\nif \u0027X-Object-Sysmeta-Slo-Size\u0027 header is present it will\nadd needed headers for container to update obj size\n\nAdded a new functional test case with size assertion for slo\n\nChange-Id: I47e0663e67daea8f1cf4eaf3c47e7c8429fd81bc\nCloses-Bug: #1840322\n(cherry picked from commit b4288b4aa6e6be2222f5f0e9ca8360c07040d5c0)\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/swift/commit/a556c2b5f739db863c1bcb8cea2dc6c31144ff13"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/swift/commit/a556c2b5f739db863c1bcb8cea2dc6c31144ff13"}]},"branch":"refs/heads/stable/stein"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
