Monday, 2021-04-26

openstackgerritMatthew Oliver proposed openstack/swift master: Relinker: Log the number of child workers started  https://review.opendev.org/c/openstack/swift/+/78790800:15
openstackgerritMatthew Oliver proposed openstack/swift master: Relinker: Log the number of child workers started  https://review.opendev.org/c/openstack/swift/+/78790800:30
*** evrardjp has quit IRC02:33
*** evrardjp has joined #openstack-swift02:33
openstackgerritMatthew Oliver proposed openstack/swift master: relinker: Add /recon/relinker endpoint and drop progress stats  https://review.opendev.org/c/openstack/swift/+/77965503:24
*** m75abrams has joined #openstack-swift04:01
openstackgerritMatthew Oliver proposed openstack/swift master: relinker: Add /recon/relinker endpoint and drop progress stats  https://review.opendev.org/c/openstack/swift/+/77965504:25
*** DHE has quit IRC04:38
*** DHE has joined #openstack-swift04:38
*** timburke has joined #openstack-swift05:06
*** ChanServ sets mode: +v timburke05:06
*** m75abrams has quit IRC05:09
*** m75abrams has joined #openstack-swift05:18
openstackgerritMerged openstack/swift master: auditors: Log and dump recon *before* sleeping  https://review.opendev.org/c/openstack/swift/+/78786805:50
*** timburke has quit IRC06:32
*** rpittau|afk is now known as rpittau07:12
*** openstack has joined #openstack-swift07:52
*** ChanServ sets mode: +o openstack07:52
*** openstackgerrit has quit IRC08:11
*** dviroel has quit IRC08:24
*** dviroel has joined #openstack-swift08:30
*** dsariel has joined #openstack-swift10:24
*** dsariel has quit IRC10:24
*** dsariel has joined #openstack-swift10:31
*** openstackgerrit has joined #openstack-swift11:23
openstackgerritAlistair Coles proposed openstack/swift master: Add more detail to ECFragGetter logging  https://review.opendev.org/c/openstack/swift/+/78743511:23
*** openstackgerrit has quit IRC14:23
*** dsariel has quit IRC14:35
*** dsariel has joined #openstack-swift14:36
*** m75abrams has quit IRC14:50
*** dviroel is now known as dviroel|lunch15:07
*** openstackgerrit has joined #openstack-swift15:32
openstackgerritAlistair Coles proposed openstack/swift master: Quarantine stale EC fragments  https://review.opendev.org/c/openstack/swift/+/78608415:32
*** TiagoPrimini has quit IRC15:44
*** TiagoPrimini has joined #openstack-swift15:45
*** rpittau is now known as rpittau|afk15:55
*** gyee has joined #openstack-swift15:55
*** timburke has joined #openstack-swift15:57
*** ChanServ sets mode: +v timburke15:57
*** nicolasbock has joined #openstack-swift16:09
*** dsariel has quit IRC16:18
*** dviroel|lunch is now known as dviroel16:24
*** timburke has quit IRC16:41
*** timburke has joined #openstack-swift17:25
*** ChanServ sets mode: +v timburke17:25
*** binwiederhier has joined #openstack-swift17:56
binwiederhierHello hello, quick question to you Swift pros: Assume I delete an object via 'curl -XPOST -H"X-Delete-At: XYZ" ...' and the deletion time XYZ has passed, but the swift-object-expirer has not run yet, how do I undelete the object and leave Swift in a consistent state? I've had success just deleting the .meta file on all object nodes, but I was wondering if there is other state that I need to adjust?17:58
binwiederhierAlso: Rather than deleting the .meta file, what's the best way to update/remove an xattr value?17:59
*** lifeless has joined #openstack-swift17:59
timburkebinwiederhier, is there any other metadata that was included with the POST? content-type, user-defined metadata? i'd expect that scrubbing the .metas should work pretty well -- just make sure you got all replicas (including non-primary locations, if necessary) before letting the expirer run18:05
timburkeotherwise, the .meta will get replicated out again and the expirer will be able to delete it18:05
binwiederhiertimburke: as of today we don't use any other metadata, which is why i think we can just straight up delete the .meta file instead of editing the xattrs.18:06
timburkethere will be some stale entries kicking around in the expirer queue, but they shouldn't cause much trouble18:06
binwiederhieri do see other stuff in there, mostly X-Timestamp and Content-Type I think18:06
binwiederhierbut there is nothing in the container sqlite dbs and such that i need to look at or toggle, right?18:07
timburkethe last-modified date in the container listing will still have the POST timestamp, but i don't expect that to cause you any trouble18:09
binwiederhiertimburke: awesome thank you18:10
timburkeas long as you're ok with the content-type reverting to what's stored on the .data, deleting the .meta should be fine. if you need to do this for a large number of objects, you'll likely want to turn off replication for a bit, do the cleanup on all nodes, then turn replication back on18:10
binwiederhierit is weird that there are attributes in there that have clearly not changed:18:11
binwiederhiergetfattr -d --only-values *.meta | /root/swift-meta.py18:11
binwiederhier{'X-Delete-At': '1619695221', 'Content-Type': 'none/none', 'X-Timestamp': '1616930421.13160', 'name': '/AUTH_c203007_n1/pec43_n1/gsi5sppzraobnxulrmbweyy4fn5rmcsr', 'Content-Type-Timestamp': '1616930421.13160'}18:11
binwiederhierour POST only adds the X-Delete-At.18:11
binwiederhiertimburke: so why do i need to turn replication off. maybe i'm misunderstanding...18:12
timburkesome of that is internal book-keeping -- name and X-Timestamp in particular. the Content-Type is a little surprising, but there are worse things18:13
timburkeso any time we go deleting things off disk, we're going to be fighting the consistency engine a bit. there's going to be a window from when we start deleting .metas to when every node has deleted its .meta where replication on one of the not-yet-deleted nodes could push a fresh copy out to nodes that already did the delete18:17
timburke(there are some other caveats around suffix invalidation and whatnot that work in your favor, but that race is the central issue)18:18
binwiederhiergot it thank you. so basically just disabling the object-replicator and the object-reconstructor then would be enough?18:29
openstackgerritMerged openstack/swift master: relinker: Add start/end logs to parallel_process  https://review.opendev.org/c/openstack/swift/+/78593618:32
*** stand has joined #openstack-swift18:42
*** dviroel is now known as dviroel|brb18:43
*** dviroel|brb is now known as dviroel19:10
openstackgerritMerged openstack/swift master: Include sharding cycle time in recon  https://review.opendev.org/c/openstack/swift/+/78783119:13
openstackgerritTim Burke proposed openstack/swift master: Recommend setting recon_cache_path in [DEFAULT] section  https://review.opendev.org/c/openstack/swift/+/78806719:33
*** dviroel is now known as dviroel|afk20:00
*** TiagoPrimini has quit IRC20:02
*** dviroel|afk is now known as dviroel21:21
openstackgerritTim Burke proposed openstack/swift master: docs: Get rid of useless page  https://review.opendev.org/c/openstack/swift/+/78808621:24
openstackgerritTim Burke proposed openstack/swift master: relinker: Only mark partitions "done" if there were no (new) errors  https://review.opendev.org/c/openstack/swift/+/78808921:49
*** timburke_ has joined #openstack-swift22:17
*** ChanServ sets mode: +v timburke_22:17
*** timburke has quit IRC22:19
openstackgerritTim Burke proposed openstack/swift master: relinker: Rehash the parts actually touched when relinking  https://review.opendev.org/c/openstack/swift/+/78373122:21
*** rcernin has joined #openstack-swift23:09

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