Thursday, 2023-08-10

opendevreviewJianjian Huo proposed openstack/swift master: Container-server: add container full namespaces GET  https://review.opendev.org/c/openstack/swift/+/89047001:23
opendevreviewASHWIN A NAIR proposed openstack/swift master: wsgi: bad request syntax response missing txn-id  https://review.opendev.org/c/openstack/swift/+/88790403:50
opendevreviewJianjian Huo proposed openstack/swift master: Container-server: add container full namespaces GET  https://review.opendev.org/c/openstack/swift/+/89047004:19
opendevreviewASHWIN A NAIR proposed openstack/swift master: s3api: Support GET/HEAD request with PartNumber  https://review.opendev.org/c/openstack/swift/+/89100904:21
opendevreviewASHWIN A NAIR proposed openstack/swift master: s3api: Support GET/HEAD request with PartNumber  https://review.opendev.org/c/openstack/swift/+/89100904:21
opendevreviewASHWIN A NAIR proposed openstack/swift master: s3api: Support GET/HEAD request with PartNumber  https://review.opendev.org/c/openstack/swift/+/89100904:22
opendevreviewAlistair Coles proposed openstack/swift master: s3api: set swift.backend_path when returning 422  https://review.opendev.org/c/openstack/swift/+/89108817:57
reid_gHello, which proc is actually responsible for deleting container db files when an account is delete? The doc mentions db_replicator but is that the container-replicator?18:50
opendevreviewASHWIN A NAIR proposed openstack/swift master: wsgi: bad request syntax response missing txn-id  https://review.opendev.org/c/openstack/swift/+/88790418:53
reid_gAlso what does swift-container-info mean when it says Delete:No but has Delete Timestamp: 2023-06-05T22:44:56.660350 (1686005096.66035) and Reported Delete Timestamp: 2023-06-05T22:44:56.660350 (1686005096.66035)18:54
timburkereid_g, yeah, the account and container replicators both subclass from https://github.com/openstack/swift/blob/master/swift/common/db_replicator.py18:58
timburkeso it'd be a container-replicator process that eventually runs https://github.com/openstack/swift/blob/master/swift/common/db_replicator.py#L637-L639 to unlink off disk18:58
timburkethat'll only happen after the container DB has been marked deleted via a DELETE request; if the whole account has been marked for deletion, that'd be coming from the account-reaper18:59
timburkethe delay (called reclaim_age) is to make sure any objects that might have been written have had a chance to get reported to the container so you don't end up with dark data that ties up space in your cluster but users can't actually find19:01
timburkeas for the swift-container-info output -- is there a put timestamp that's after the delete timestamp? are there still object rows in the DB?19:02
reid_git shows Reported Object Count: 319:06
timburkethat's basically the thrust of it in https://github.com/openstack/swift/blob/master/swift/container/backend.py#L827-L838 -- there might be some added nuance for sharded containers19:06
reid_gI went and found the objects and manually deleted them. Will the container still be updated?19:06
timburke"manually deleted them" like ssh to the server and rm, or like issue a DELETE (either directly to the object-server or via a proxy/internal-client)?19:08
reid_gwent to server and rm them19:08
timburkethen no -- but you ought to be able to similarly rm the db files19:09
reid_gShould I issue deletes via api? Will that work if the account is gone already? (this is going back to the questions last week where I have some containers that aren't being cleaned up)19:11
opendevreviewASHWIN A NAIR proposed openstack/swift master: unit tests: improve FakeSwift handling of HEAD with query param  https://review.opendev.org/c/openstack/swift/+/88978520:04
opendevreviewMerged openstack/swift master: py3: apply str_to_wsgi to includes in _get_shard_ranges  https://review.opendev.org/c/openstack/swift/+/88911322:59
opendevreviewMerged openstack/swift master: sharder: use ContainerBroker.has_other_shard_ranges() method  https://review.opendev.org/c/openstack/swift/+/88904222:59

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!