Wednesday, 2016-02-03

kota_hello00:09
kota_onovy, timburke: exactly, the CHANGELOG is missing in v1.10 :/00:09
kota_it seems to come from the order of merge commit00:11
kota_i just tagged the newest master HEAD at that time but it seemed to refer the merge commit for setup.cfg change and the order was swapped :/00:12
kota_i'll try to re-tag to correct commit, i don't know how i can do that though.00:13
kota_timburke: and thanks for reviewing patch 27500900:15
patchbotkota_: https://review.openstack.org/#/c/275009/ - swift3 - Fix cleanup segment container00:15
kota_timburke: it's really good call. that is what I thought in the last night in my bed :)00:15
kota_i think i can write the test case but the solution might be problematic due to eventual consistency.00:17
kota_anyways, I'll push the failure test case before submitting the fix.00:17
timburkekota_: yeah, that's why i recommended just to try it and see what happens :/ it may leave some segments, but we're in a similar situation when there's a failure midway through ?multipart-manifest=delete subrequests00:23
kota_timburke: exactly00:24
kota_right now, i think we can fix it with extra HEAD for refer SLO manifest. If it exists, failed immediately as 409 bucket not empty.00:25
kota_it still has timming issue.00:25
kota_though00:25
kota_and I'm realizing (wondering), can we delete the bucket which has some initiated uploads in S3?00:26
timburkegood question...hadn't thought about that part00:26
kota_ok, let's make sure :)00:27
timburketorgomatic's audit-watcher patch has got me thinking about the possibilities when we (eventually) see all objects. in particular, i'm thinking about letting clients add some custom metadata on objects to say "hey, i only make sense in the context of this thing. if it's deleted, clean me up as well"00:29
timburkewhere "deleted" means "no, really, there's a tombstone and everything", not just a 404 on head00:29
kota_hmm00:31
kota_sounds good way, I need to think more about how we can use tthe watcher though :/00:32
timburkemay not even be the right place for it. just a though i had00:33
kota_timburk: but thanks for the info :)00:36
openstackgerritKota Tsuyuzaki proposed openstack/swift3: WIP: Fix cleanup segment container  https://review.openstack.org/27500901:09
*** lyrrad has quit IRC01:18
*** bill_az has quit IRC02:55
*** chsc has joined #swift304:23
*** chsc has quit IRC04:27
openstackgerritKota Tsuyuzaki proposed openstack/swift3: Fix cleanup segment container  https://review.openstack.org/27500907:07
kota_hmm....the fix is getting bigger far from my expectation :/07:08
*** m_kazuhiro has joined #swift311:11
*** m_kazuhiro has quit IRC11:12
onovykota_: i think retaging is not good idea12:37
onovyjust wait for next release and "never mind" :)12:37
onovyit's just changelog...12:38
kota_onovy: hmm, that's an idea and either is fine to me, no matters.12:56
onovy:)12:56
*** bill_az has joined #swift313:00
*** openstackgerrit has quit IRC13:02
*** openstackgerrit has joined #swift313:03
*** lyrrad has joined #swift317:27
*** chsc has joined #swift318:30
openstackgerritSivasathurappan Radhakrishnan proposed openstack/swift3: Fix nonprintable metadata for s3 compatibility Encoding header metadata “HTTP_X_OBJECT_META_” in request.py into UTF-8 format for non-printable values to simulate S3 behavior  https://review.openstack.org/26608020:50
openstackgerritTim Burke proposed openstack/swift3: Add base64-encoding to tests  https://review.openstack.org/27593021:16
timburkesiva_krishnan: both are good and useful. the swift3 tests (both unit and functional) are great for catching regressions, while the s3-tests suite offers the broadest S3-compatibility testing i've found. eventually, i'd like to get the s3-tests suite running as a (non-voting) gate job, just to give us the extra coverage and offer feedback on when previously failing tests start passing21:33
siva_krishnanyup that is great idea timburke.  It would help us to keep tab on the comaptibility level that we have with s3. I would go ahead  and add test cases to both of them.21:36
siva_krishnantimburke, kota_ have question for you guys regarding https://review.openstack.org/15913021:40
siva_krishnanIn the above patch question has been raised about orphaned segments containers. I would like to how to those segments containers would be cleaned up from the system ?21:41
kota_siva_krishnan: https://review.openstack.org/#/c/275009/21:43
siva_krishnanDo Auditors or reapers do it ?21:43
kota_that is my try to prevent orphaned container21:43
kota_not sure yet, it's good thing in eventualy consistency world.21:44
kota_siva_krishnan: but good point of view, thanks :)21:45
siva_krishnanthanks for that follow up patch. Looks great ! Had an similar idea of HEADing the base container to check its access rights  but never thought about container-object-count21:50
*** chsc has quit IRC22:39
kota_hello23:01
kota_meeting?23:01
kota_looks like no one around23:03
siva_krishnano/23:04
siva_krishnanI am in23:04
siva_krishnanSorry had a meeting23:04
kota_siva_krishnan: o/23:04
kota_Just I was thinking "skip this week meeting" :-)23:04
kota_you have something except patch 275009?23:05
patchbotkota_: https://review.openstack.org/#/c/275009/ - swift3 - Fix cleanup segment container23:05
*** chsc has joined #swift323:05
siva_krishnanthanks for this patch Kota_!23:06
siva_krishnanYou and timburke have been supporting me a lot last weeekend in fixing up this23:06
siva_krishnanI just had one question  regarding this23:07
kota_ok, what's?23:07
siva_krishnanShouldn't Swift be allowing us not to delete container unless we delete objects from it. Shouldn't it be the same way as S3  does it ?23:08
siva_krishnanWas there any specific design decision behind it ?23:09
kota_Swift doesn't allow to delete container if it has object inside.23:09
kota_I think S3 too.23:09
kota_S3 docs is here, http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html23:10
kota_not sure about the design decision but considering use case23:10
siva_krishnanS3 doesn't allow it. I have checked it myself But when I tried it with Swift3 it allowed me to do so23:11
kota_users will have a lot of objects inside the bucket23:11
siva_krishnanMay be I should cross check it once again ?23:11
kota_bucket (or container if you use swift)23:11
kota_siva_krishnan: :-)23:12
kota_wait...23:12
siva_krishnanok23:12
kota_if Swift3 allows to delete not empty bucket, it's absolutely bug i think23:13
siva_krishnanI tried it with segment containers23:13
kota_I think we don't want to delete not empty bucket because it's too easy way to delete everything if it's unexpected.23:14
kota_Deleting non-empty (important data inside) bucket with mistake -> screaming!!!!!23:15
kota_I was imaging :/23:16
siva_krishnanI just saw your comment  to the above patch "In edge case, orphaned segment container may be remaining there but this improves the behavior in normal case and I don't want to keep this to live in gerrit more so merge tentatively and will fix the remaining issue."23:17
siva_krishnanthis made me to raise this question23:17
*** lyrrad has quit IRC23:17
kota_ah, ok23:18
kota_the edge case is timming issue i mean23:18
kota_for example23:18
kota_in timestamp 0, an user have empty bucket but it have initiated multi upload23:19
kota_it also has some uploaded parts in the segment container23:19
kota_next timestamp 1, another use who has permission to delete that bucket requests to delete23:20
kota_at the same time (i.e. timestamp 1'), an user requests "complete multiupload"23:21
kota_that's edge case23:21
kota_consider the handling (i called it as timestamp 2)23:21
kota_s/called/call now/23:21
kota_delete request checks the x-container-object-count which is 0 -> ok let's cleanup container23:22
siva_krishnanok. thanks for that info : )23:23
kota_complete multiupload requests *may* put SLO just after the delete check23:23
kota_siva_krishnan: :-)23:23
kota_and x-container-object-count is able to be updated asynchronously.23:24
kota_not ensure everything like as trunsaction.23:24
kota_that's why I added the note.23:24
kota_more safer way may be that check the existence for each upload id (or referred object)23:26
siva_krishnanhow about our meeting ?23:27
kota_skipped? :P23:27
siva_krishnanI have been flooding the meeting with my questions23:27
kota_no worries23:27
siva_krishnan:)23:28
kota_ok, closing today, I think we had enough conversations at recent IRC so assuming not so a big (urgent) topic is.23:30
kota_siva_krishnan: thanks for attending :)23:31
siva_krishnanHopefully we will have more people attending next week's meeting :)23:32
kota_I hope so :)23:33
*** chsc has quit IRC23:35
*** lyrrad has joined #swift323:42
*** lyrrad has left #swift323:42
*** lyrrad has joined #swift323:43
timburkesorry i missed it. conflicting meeting, and then an internet outage :(23:52

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