Wednesday, 2024-02-07

seongsoochoI'm trying to use the dark data delete feature in object auditor. The phenomenon I experienced while using it is that it keeps replicating on other nodes with dark data by the replicator, making the dark data immortal. Do I need to stop the replicator to do it with action=delete in auditor?01:13
opendevreviewYan Xiao proposed openstack/swift master: labeled-metrics: Alternative approach to emit legacy and labeled metrics  https://review.opendev.org/c/openstack/swift/+/90824403:53
timburkeseongsoocho, very likely, yes. or, run it in logging mode and use the logs to inform some other process to do the deletion (either by unlinking on each primary at roughly the same time, or issuing a DELETE and laying down a tombstone)04:21
seongsoochotimburke:  a-ha.. Using  the logs seemd like better option.04:25
opendevreviewTim Burke proposed openstack/swift master: Be willing to send hashes as JSON  https://review.opendev.org/c/openstack/swift/+/75863805:30
opendevreviewMatthew Oliver proposed openstack/swift master: internal_client: Add iter_{shard_ranges,namespaces,namespaces_from_cache} interfaces  https://review.opendev.org/c/openstack/swift/+/87758407:10
opendevreviewTim Burke proposed openstack/swift master: replicator: Add sync_batches_per_revert option  https://review.opendev.org/c/openstack/swift/+/83964907:16
opendevreviewTim Burke proposed openstack/swift master: replicator: Rename update_deleted to revert  https://review.opendev.org/c/openstack/swift/+/90825207:16
opendevreviewTim Burke proposed openstack/swift master: diskfile: Ignore invalid suffixes in invalidations file  https://review.opendev.org/c/openstack/swift/+/90825307:16
opendevreviewTim Burke proposed openstack/swift master: diskfile: Add API to remove a suffix from hashes.pkl  https://review.opendev.org/c/openstack/swift/+/90825407:16
opendevreviewAlistair Coles proposed openstack/swift master: proxy-server: de-duplicate _get_next_response_part method  https://review.opendev.org/c/openstack/swift/+/89091911:08
opendevreviewAlistair Coles proposed openstack/swift master: proxy: don't use recoverable_node_timeout with x-newest  https://review.opendev.org/c/openstack/swift/+/90828711:08
opendevreviewAlistair Coles proposed openstack/swift master: CooperativeIterator: ignore period<=0  https://review.opendev.org/c/openstack/swift/+/90830012:16
zigotimburke: clarkb: My tool needs to check the available space in partitions in /srv/node, so I was wondering if in the functional test suite of Swift, if we have this already provisioned, somehow, and if yes, in which path.12:34
clarkbzigo: the swift/tools/test-setup.sh script is what the upstream ci jobs for python unittests run to configure disk stuff16:06
timburkezigo, i wouldn't worry about it for a functional test; unit test (with mocked out return values for free space) should be sufficient16:16
zigotimburke: I'll try, thanks.16:17
opendevreviewTim Burke proposed openstack/swift master: Add ClosingIterator class; be more explicit about closes  https://review.opendev.org/c/openstack/swift/+/90465217:26
opendevreviewAlistair Coles proposed openstack/swift master: DNM: WIP: test jig for native mpu audit  https://review.opendev.org/c/openstack/swift/+/90833719:08
timburke#startmeeting swift21:00
opendevmeetMeeting started Wed Feb  7 21:00:12 2024 UTC and is due to finish in 60 minutes.  The chair is timburke. Information about MeetBot at http://wiki.debian.org/MeetBot.21:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.21:00
opendevmeetThe meeting name has been set to 'swift'21:00
timburkewho's here for the swift meeting?21:00
mattolivero/21:00
acoleso/21:00
mattoliverI got the time right today!21:00
timburke🎉21:01
timburkei neglected to update the agenda, but we can start with updates on last week's items21:02
timburke#topic swiftclient reviews21:02
timburkeacoles reviewed p 904652; sounds like yan will be addressing comments later this week21:03
patch-bothttps://review.opendev.org/c/openstack/swift/+/904652 - swift - Add ClosingIterator class; be more explicit about ... - 7 patch sets21:03
timburkei didn't get to poking at the path-normalization bug, unfortunately21:03
timburkeclayg helped characterize the issue in https://review.opendev.org/c/openstack/python-swiftclient/+/90711821:04
patch-botpatch 907118 - python-swiftclient - WIP: test for invalid segment name - 3 patch sets21:04
timburke#topic s3 compat21:04
timburkethe part number patches are still in review, but seem likely to merge soon-ish21:05
timburkeon the follow-ups, i think https://review.opendev.org/c/openstack/swift/+/906906 should probably get squashed into the main s3api patch21:05
patch-botpatch 906906 - swift - s3api: return 400 if partNumber and Range sent - 3 patch sets21:05
timburkewhile https://review.opendev.org/c/openstack/swift/+/906391 can probably continue to be a follow-up21:06
patch-botpatch 906391 - swift - slo: Support range requests for part-number queries - 2 patch sets21:06
acolessounds like a plan21:06
timburkeacoles also wrote up some more MPU cross-compat tests: https://review.opendev.org/c/openstack/swift/+/90775121:06
patch-botpatch 907751 - swift - WIP s3api: add more MPU cross-compat  tests - 1 patch set21:06
mattoliverkk, I promise to get to review these myself over the next week. They are on my list.. just never seem to get to them21:07
acolesI marked the cross-compat test patch as WIP: not all tests pass with Swift s3api21:07
timburkei've been poking at them as something detached from the chain, and have it down from 8 failures to 5 -- we'll see what i can do for the rest21:08
acolesI don't plan to immediately address those failures (they're not data-path related discrepancies)21:08
acolesInstead, I'm trying to make progress towards an all-new swift s3api MPU implementation, but it's very early days21:09
timburkeit'll be great :D21:09
timburkewhile i'm still on the topic of s3 compat, i still haven't done much with https://review.opendev.org/c/openstack/swift/+/836755 but want to dig in more over the next week21:11
patch-botpatch 836755 - swift - Add support of Sigv4-streaming - 8 patch sets21:11
timburke#topic py31221:12
timburkeacoles merged https://review.opendev.org/c/openstack/swift/+/904601 (thanks!)21:12
patch-botpatch 904601 - swift - tests: Fix float expectations for py312 (MERGED) - 5 patch sets21:12
acoles👌21:13
mattoliverSpeaking of py312, when having 312 as your default tox pep8 fails as it pulls in a later version of something, pinning it doesn't fix it. 21:14
timburkeand i think we're lined up to continue pushing on https://review.opendev.org/c/openstack/swift/+/904652 (which may help with some other issues we've seen on py37 🤞)21:14
patch-botpatch 904652 - swift - Add ClosingIterator class; be more explicit about ... - 7 patch sets21:14
mattoliverimportlib-metadata > 5 removed an api that flake8 uses. 21:15
timburkemattoliver, oh boo -- i think i hadn't tried linting yet, just tests21:15
mattoliverI could set a basepython to <312 in tox and it fixes it.21:15
mattoliverBut that isn't great. 21:15
mattoliverSo might need to check on the status of flake8 upstream and see if they're working on using the new importlib-metadata api 21:16
mattoliverraise an issue or maybe even fix it myself 🤷21:16
timburkei wonder if maybe it's down to the version pins hacking uses 🤔21:18
mattoliverBecause my default python is 312 (thanks to fedora) I might continue chasing this down because it bugs and effects me most.21:19
timburkei also remembered recently that there's 312 work outside of swift -- we want https://review.opendev.org/c/openstack/pyeclib/+/839643 to get pyeclib tests working21:19
patch-botpatch 839643 - pyeclib - Drop support for liberasurecode<1.4.0 - 10 patch sets21:19
mattolivermaybe, I went in an forced a pin to the right version, but then it complained about wanting 2 versions of the module.. so yeah either something else is pulling it in, or is packaged/coming with my py31221:20
mattoliveroh yeah. I forget about those repos.21:20
timburke(because of the deprecation called out in the commit message; py312 made good on the promise to remove)21:20
timburkebut it'll also be really nice to finally close #1639691!21:21
patch-bothttps://bugs.launchpad.net/swift/+bug/1639691 - EC: Swift can return corrupted Data and be able to go data lost at isa_l_rs_vand policy with >=5 parities (Fix Released)21:21
timburkei think that's it for updates from last week21:22
timburke#topic open discussion21:23
timburkeanything else we want to bring up here?21:23
acolesnot from me21:23
mattoliverThanks to acoles p 809969 has been reworked and much better21:24
patch-bothttps://review.opendev.org/c/openstack/swift/+/809969 - swift - sharding: don't replace own_shard_range without an... - 15 patch sets21:24
acolesI wonder if we'll get any hint as to the mystery epoch-resetting bug?21:24
mattoliveryeah no idea. I mean the reason we added device name to db_ids was a hope to find the culprit. 21:25
mattoliverAlso now that the namespace and container auto get patches have landed. I'm reworking p 87758421:25
patch-bothttps://review.opendev.org/c/openstack/swift/+/877584 - swift - internal_client: Add iter_{shard_ranges,namespaces... - 12 patch sets21:25
mattoliverStill working it through, but there is now an iter_shardranges and iter_namespace that do to the backends. And now also have a iter_namespaces_from_cache which only attempt to pull from cache (if enabled). Return nothing on cache_miss21:26
mattoliverwhich will be useful for smartening up the object updater21:27
mattoliverLast night I had to make dinner so quickly pushed up what I had. Almost have a more polished one to push up now. maybe after the meeting21:28
timburkei like smarter daemons :-)21:28
timburkeall right, i think we'll call it early then21:29
mattoliveroh and I still have p 905064 lingering, but thats probably more on me :) 21:29
patch-bothttps://review.opendev.org/c/openstack/swift/+/905064 - swift - wip: shard replication sync points - 5 patch sets21:29
mattoliveryup, that's all I got :) 21:29
timburkethanks for coming, and thank you for working on swift!21:29
timburke#endmeeting21:29
opendevmeetMeeting ended Wed Feb  7 21:29:33 2024 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)21:29
opendevmeetMinutes:        https://meetings.opendev.org/meetings/swift/2024/swift.2024-02-07-21.00.html21:29
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/swift/2024/swift.2024-02-07-21.00.txt21:29
opendevmeetLog:            https://meetings.opendev.org/meetings/swift/2024/swift.2024-02-07-21.00.log.html21:29
timburkeoh, i forgot to mention: while i was reworking p 839649 (and refreshing my memory of how multi-region replication over ssync works) i was reminded of how terrible it is to try to use REPLICATE via curl, so i pushed up a fresh version of p 75863821:32
patch-bothttps://review.opendev.org/c/openstack/swift/+/839649 - swift - replicator: Add sync_batches_per_revert option - 14 patch sets21:32
patch-bothttps://review.opendev.org/c/openstack/swift/+/758638 - swift - Be willing to send hashes as JSON - 10 patch sets21:32
mattoliverkk21:33
opendevreviewTim Burke proposed openstack/swift master: sharding: don't replace own_shard_range without an epoch  https://review.opendev.org/c/openstack/swift/+/80996921:38
opendevreviewAnish Kachinthaya proposed openstack/swift master: add container level grace period  https://review.opendev.org/c/openstack/swift/+/90776222:23
opendevreviewMerged openstack/swift master: replicator: Rename update_deleted to revert  https://review.opendev.org/c/openstack/swift/+/90825222:57
opendevreviewTim Burke proposed openstack/swift master: lint: Up-rev hacking  https://review.opendev.org/c/openstack/swift/+/90836722:59
opendevreviewTim Burke proposed openstack/swift master: lint: Consistently use assertIsInstance  https://review.opendev.org/c/openstack/swift/+/90836822:59
timburkemattoliver, see what you think of the hacking up-rev; i think it should resolve your py312 issue ^^^23:00
timburkeboo! starting with hacking 5.0+, it requires py38+...23:21
clarkbyou should be able to run hacking with newer python and not have that affect the versions of python you support at runtime though23:25
mattoliverKk23:28
mattoliverLol it never ends 😜 23:28
opendevreviewTim Burke proposed openstack/swift master: lint: Up-rev hacking  https://review.opendev.org/c/openstack/swift/+/90836723:48
opendevreviewTim Burke proposed openstack/swift master: lint: Consistently use assertIsInstance  https://review.opendev.org/c/openstack/swift/+/90836823:48

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