Thursday, 2019-09-19

*** gyee has quit IRC00:22
openstackgerritMerged openstack/swift master: Skip test when object versioning is not enabled  https://review.opendev.org/68266800:23
*** NM has joined #openstack-swift00:31
openstackgerritMerged openstack/swift master: Close leaking opened requests  https://review.opendev.org/68269800:36
*** NM has quit IRC00:39
*** BjoernT has joined #openstack-swift02:50
*** BjoernT_ has joined #openstack-swift02:55
*** BjoernT has quit IRC02:56
*** psachin has joined #openstack-swift03:34
*** pcaruana has joined #openstack-swift04:42
*** rcernin_ has joined #openstack-swift04:56
*** rcernin has quit IRC04:59
*** BjoernT_ has quit IRC05:45
*** early has quit IRC06:15
*** early has joined #openstack-swift06:18
*** rcernin_ has quit IRC06:48
*** takamatsu has quit IRC06:50
*** psachin has quit IRC06:53
*** e0ne has joined #openstack-swift07:17
*** tesseract has joined #openstack-swift07:26
*** takamatsu has joined #openstack-swift07:44
*** zaitcev__ has joined #openstack-swift08:01
*** ChanServ sets mode: +v zaitcev__08:01
*** zaitcev_ has quit IRC08:05
*** tkajinam has quit IRC08:19
*** takamatsu_ has joined #openstack-swift08:46
*** takamatsu has quit IRC08:46
*** takamatsu_ has quit IRC09:19
*** takamatsu has joined #openstack-swift09:36
*** takamatsu has quit IRC10:00
*** takamatsu has joined #openstack-swift10:06
*** rcernin_ has joined #openstack-swift10:16
*** rcernin_ has quit IRC10:36
*** e0ne has quit IRC10:42
*** pcaruana has quit IRC10:54
*** takamatsu has quit IRC11:00
*** takamatsu has joined #openstack-swift11:06
*** pcaruana has joined #openstack-swift11:17
*** e0ne has joined #openstack-swift11:21
*** takamatsu has quit IRC11:22
*** takamatsu has joined #openstack-swift11:28
*** takamatsu has quit IRC12:21
*** takamatsu has joined #openstack-swift12:27
*** takamatsu has quit IRC12:38
*** takamatsu has joined #openstack-swift13:16
*** pcaruana has quit IRC13:28
*** NM has joined #openstack-swift13:34
*** pcaruana has joined #openstack-swift13:54
*** BjoernT has joined #openstack-swift13:59
*** tesseract has quit IRC14:00
*** BjoernT_ has joined #openstack-swift14:02
*** BjoernT has quit IRC14:04
*** takamatsu has quit IRC14:16
*** e0ne has quit IRC14:28
*** pcaruana has quit IRC14:33
NMclayg:  thanks for the answer. Besides authentication, should I worry about other types of cache ? Let's say memcache-region-a and memcache-region-b have the same content about an specific container. Then proxy from region A updates the container and then updates memcache-region-a. Will the proxy from region B keep getting the outdated content from memcache-region-b?14:48
DHEyes, but that's just an inherent risk in how swift works with its eventually-consistent behaviour. I believe those memcache timeouts are somewhat short anyway14:49
claygright cache invalidation is a little weak - so if you have two clients form different regions who both want to coordinate on consistent changes from different regions there's going to be slightly more "eventual consistency" that they may have otherwise come to expect14:50
claygDHE: agree memcache timeouts are pretty short, ~30s range14:50
claygbut you don't need to "worry about it" - it's the job of the consistency engine to "worry about it"14:51
NMThat was really helpfull clayg and DHE! Thank you!14:52
claygit'd be more like client in region 1 is writing objects into a versioned container and region 2 turns off versioning - a couple more writes might get versioned before region 1 realizes it can start doing normal overwrites14:52
claygbut a lot of that kind of metadata (which on update normally invalidates the cache) is set once and forget it14:52
claygif you have clients turning stuff on and off while other actors are trying to do things based off that - and the clients are trying to use swift to coordinate atomic state transistions - they're sort of already in for a bad time14:53
claygbut maybe they've designed for that and "mostly works" is good enough...14:53
*** gyee has joined #openstack-swift14:56
NMNever thought about that. Do we have any doc about memcache timeouts and how swift uses memcache? I couldn't find any.14:57
*** e0ne has joined #openstack-swift15:02
tdasilvaI'm not sure I understand this statement from s3: "Only Amazon S3 can create a delete marker, and it does so whenever you send a DELETE Object request on an object in a versioning-enabled or suspended bucket" Does that mean they keep "versioning" if the "overwrite" is actually a DELETE request when versioning is suspended ??15:11
claygso is p 681970 dependent on the continue on empty shard range patch?15:15
patchbothttps://review.opendev.org/#/c/681970/ - swift - Sharding: Clean up old CleaveConext's during audit - 2 patch sets15:15
claygtdasilva: where'd you read that?  i wouldn't expect delete markers to be created in versioning suspended mode?15:16
clayg... but if that's what s3 does it would be good to know that even if it's surprising15:17
tdasilvaclayg: ah so this is interesting, i just verified the behavior. the delete markerj just overwrites whatever is latest.15:20
claygwhat?!  really?  thats... weird as hell15:20
tdasilvaif current is something that is "versioned", then of-course it won't overwrite that15:20
claygrly?  i guess that makes sense15:21
tdasilvabut if the current was written down while it was in suspend mode, then it will write and delete marker that overwrites the current15:21
tdasilvas/write and delete/write a delete15:21
tdasilvamake sense?15:22
tdasilvaread it here: https://docs.aws.amazon.com/AmazonS3/latest/dev/DeleteMarker.html15:22
tdasilvaclayg: my concern if we want to mirror that behavior is how it would mess up object count on the container, because we would need to always write down a delete marker15:23
tdasilvaand just cleaning up the container in general...shoot!15:24
tdasilvai guess we could write down delete marker but not write a symlink to it??15:24
claygyeah i guess what happens in suspended mode looks basically the same as what happens on delete during enabled?15:28
claygright?  we write the delete marker, delete the symlink - but we don't issue a delete for the versioned data15:29
tdasilvai'm not really sure I understand WHY they implemented this way, seems weird15:38
claygwell the alternative is to delete the versioned object... I'm guessing DELETE while suspended treats "objects that were written while versioning was enabled" different from "objects that were written while versioning was suspended"15:40
*** NM has quit IRC15:47
tdasilvaclayg: correct, which is actually easy for us to do too. because ""objects that were written while versioning was enabled" are placed in versions container, while "objects that were written while versioning was suspended" are written to actual uses container, so while we are in suspended mode, we will always issue a DELETE to users container, whatever is in there gets blow-away15:52
tdasilvathe only part that sucks, is that now on a "overwrite" while is suspended mode, we will still need a look into the versions container to see if latest is a "null" versioned delete marker.15:53
*** openstackgerrit has quit IRC16:06
*** takamatsu has joined #openstack-swift16:06
*** e0ne has quit IRC16:14
timburkeor we cook up a fake entry when you go to do the listing and see a bunch of versions for the object but no link in the primary container16:30
timburke...or do we need to track a last-modified for that delete?16:31
*** itlinux has joined #openstack-swift16:35
timburkeclayg, p 681970 and p 675820 are mostly independent. i suppose there's a slight preference that we address the context-reaping before making handoffs go faster -- i think moving through handoffs quickly would exacerbate the metadata growth16:36
patchbothttps://review.opendev.org/#/c/681970/ - swift - Sharding: Clean up old CleaveConext's during audit - 2 patch sets16:36
patchbothttps://review.opendev.org/#/c/675820/ - swift - sharder: Keep cleaving on empty shard ranges - 4 patch sets16:36
*** e0ne has joined #openstack-swift16:45
*** openstackgerrit has joined #openstack-swift16:54
openstackgerritTim Burke proposed openstack/swift stable/stein: bufferedhttp: ensure query params are properly quoted  https://review.opendev.org/68211216:54
openstackgerritTim Burke proposed openstack/swift stable/stein: py2/3: Stop using stdlib's putrequest(); it only does ASCII  https://review.opendev.org/68320416:54
openstackgerritTim Burke proposed openstack/swift stable/pike: bufferedhttp: ensure query params are properly quoted  https://review.opendev.org/68187917:00
openstackgerritTim Burke proposed openstack/swift stable/pike: py2/3: Stop using stdlib's putrequest(); it only does ASCII  https://review.opendev.org/68320617:00
*** pcaruana has joined #openstack-swift17:01
*** pcaruana has quit IRC17:14
*** gmann_afk is now known as gmann17:21
*** pcaruana has joined #openstack-swift17:25
*** NM has joined #openstack-swift17:29
openstackgerritClay Gerrard proposed openstack/swift master: Allow internal clients to use null namespace  https://review.opendev.org/68213817:53
*** pcaruana has quit IRC17:55
*** mvkr has quit IRC18:48
*** pcaruana has joined #openstack-swift19:51
*** NM has quit IRC20:13
*** NM has joined #openstack-swift20:24
*** pcaruana has quit IRC20:31
*** e0ne has quit IRC21:00
*** zaitcev__ is now known as zaitcev21:08
*** e0ne has joined #openstack-swift21:12
*** NM has quit IRC21:15
*** benj_ has quit IRC21:31
*** benj has joined #openstack-swift21:31
*** benj is now known as Guest2963421:32
*** BjoernT_ has quit IRC22:00
*** e0ne has quit IRC22:24
openstackgerritMerged openstack/swift master: [train][goal] Run 'tempest-ipv6-only' job in gate  https://review.opendev.org/68253922:29
*** notmyname has quit IRC22:30
timburkewowza! head of the check queue is coming up on *18 hours*!22:31
*** notmyname has joined #openstack-swift22:31
*** ChanServ sets mode: +v notmyname22:31
DHEis that high or low?22:48
timburkehigh -- and really painful as a dev. means nothing i do today will have CI votes on it until at least tomorrow :-(22:49
*** tkajinam has joined #openstack-swift23:02
*** rcernin has joined #openstack-swift23:25
*** e0ne has joined #openstack-swift23:30
*** e0ne has quit IRC23:30
openstackgerritTim Burke proposed openstack/swift master: sharding: Update probe test to verify CleavingContext cleanup  https://review.opendev.org/68325723:54
*** e0ne has joined #openstack-swift23:55
*** e0ne has quit IRC23:55

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!