Tuesday, 2016-02-09

*** lakshmiS_ has joined #openstack-searchlight00:02
*** lakshmiS has quit IRC00:04
*** bpokorny_ has quit IRC00:33
*** bpokorny has joined #openstack-searchlight00:33
*** lakshmiS_ has quit IRC01:23
*** bpokorny_ has joined #openstack-searchlight02:30
*** bpokorny_ has quit IRC02:31
*** bpokorny has quit IRC02:33
*** bpokorny has joined #openstack-searchlight04:09
*** GB21 has joined #openstack-searchlight05:19
*** GB21 has quit IRC05:25
*** GB21 has joined #openstack-searchlight05:38
*** bpokorny has quit IRC06:12
*** GB21 has quit IRC08:04
*** TravT has quit IRC08:07
*** TravT has joined #openstack-searchlight08:09
*** GB21 has joined #openstack-searchlight09:32
*** GB21 has quit IRC10:12
*** GB21 has joined #openstack-searchlight10:12
*** GB21 has quit IRC10:23
*** GB21 has joined #openstack-searchlight10:24
*** GB21 has quit IRC11:51
*** openstackgerrit_ has joined #openstack-searchlight12:39
*** openstackgerrit_ has quit IRC13:56
openstackgerritRick Aulino proposed openstack/searchlight: Zero Downtime Re-indexing changes.  https://review.openstack.org/27786014:46
*** sjmc7 has joined #openstack-searchlight15:02
*** sigmavirus24_awa is now known as sigmavirus2415:07
*** nikhil_ has joined #openstack-searchlight15:55
*** nikhil_ is now known as Guest3344915:56
*** nikhil is now known as nikhil_k15:56
*** Guest33449 is now known as nikhil15:56
sjmc7TravT: got a sec? it can wait if you’re in the middle of something16:17
TravThey sjmc716:31
sjmc7this will be quick but require brainpower so if you’re doing something else, finish it16:32
TravTok, give me a few minutes then... i'm in the middle of a -1 on something with magic search16:33
*** bpokorny has joined #openstack-searchlight16:42
*** bpokorny has quit IRC16:45
*** bpokorny has joined #openstack-searchlight16:45
TravThey sjmc716:49
sjmc7hey16:53
sjmc7sorry, got caught up in an email. on https://review.openstack.org/#/c/255751, was just going through the math again on the size of numbers we’ll use for verisoning16:57
sjmc7did we agree we were ok going above the javascript max?16:57
*** lakshmiS_ has joined #openstack-searchlight16:59
*** lakshmiS_ has quit IRC17:00
*** lakshmiS has joined #openstack-searchlight17:07
sjmc7and i’m not sure the arithmetic in your comment on dec 11th is right about the notification timestamps. if we use the right 9 digits, three of those are milliseconds and can be ignored; of the rest, we have 5 digits at second precision (the 6th we can’t rely on because we truncate the MSD) which gives us i think 27 hours of tiebreaker precision17:15
sjmc7that’s probably fine, but i want to make sure it’s documented17:15
TravTsjmc7: sorry, didn't see this.17:19
TravTsjmc7, i wouldn't get rid of milliseconds17:21
TravTi'd get rid on the left17:22
TravTrather than right17:22
sjmc7yes - we use the right 9 digits17:22
sjmc7but you can’t treat those as seconds for the purposes of calculating time17:22
TravTi treated them as milliseconds i thought17:23
TravThttps://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&es_th=1&ie=UTF-8#q=854366000%20milliseconds%20in%20hours&es_th=117:23
TravTis the notification timestamp only in seconds?17:24
TravTat the time, we thought it might have milliseconds17:24
sjmc7you can’t use all 9 digits either17:24
sjmc7we’re discarding the most significant digit17:24
sjmc7so it’ll roll over from <something>999999 to <something+1>00000017:24
-openstackstatus- NOTICE: Gerrit is restarting now, to alleviate current performance impact and WebUI errors.17:25
sjmc7it’s only correct to treat the 5 right-most digits as useful17:25
sjmc7i think17:25
TravTi'm not sure i'm on the same page with you.17:25
TravTwhich digits are you talking about?17:25
TravTthe notification timestamp?17:25
sjmc7yes17:25
TravTwhat is its format?17:25
sjmc7we take str(ts.seconds) + str(ts.millseconds)17:26
sjmc7giving us a big number17:26
sjmc7then we take the right-most 9 digits17:26
sjmc7giving us 6 digits of seconds plus 3 of millis17:26
TravTjust a sec, i'm looking at code in patch17:27
sjmc7treating the whole thing as milliseconds, we have 9 digits of them (which is somewhere around 270 hours)17:29
TravT(update date) vs (timestamp) is critical information to17:29
sjmc7yes, this is just the tiebreaker17:29
sjmc7and i don’t think there’s a problem but i want the math in the comments, which is why i want to make sure it’s right17:29
sjmc7the update time is all good, and that’ll be in seconds17:29
TravTlets see17:30
sjmc7we strip off one digit, which still leaves a precision of many years17:30
sjmc7for the tiebreaker though, i think of those 9 digits of milliseconds, only 8 of them are valid for comparison17:31
sjmc7which gives around a day17:31
sjmc7and that’s probably fine because it’s only meant for temporary race conditions17:31
TravTcurrent epoch in seconds is 1455039132 and in milliseconds is 145503913251717:32
sjmc7yep17:32
TravT9 digits in seconds is: 455039132 which is 126399 hours17:33
sjmc7yes, but we’re not using 9 digits17:34
TravT9 digits in milliseconds is 039132517 which is 10 hours17:34
sjmc7right17:34
TravTit seem like we should use less digits from the seconds (updated dt) and more from the milliseconds (timstamp)17:35
sjmc7we’re currently using 9 digits from updated_at plus 9 from timestamp17:35
sjmc7using less from updated_at will land us in trouble quickly i think17:36
TravT10 digits from timestamp would give us 1,399 hours17:36
TravT8 digits from seconds would give us 15288 hours17:37
sjmc7i’m not sure that’s right17:38
TravTok, well, i just used the google converter17:39
sjmc7with 8 digits, we get up to 1499999999 before it ticks over and we get all 0s17:39
TravTmaybe we should spreadsheet it17:39
sjmc7to 150000000017:40
TravTthat rolloer.17:40
sjmc7that comes in 201717:40
TravThadn't considered that17:40
TravTy2k17 bug?17:40
sjmc7and it’s the same thing with the timestamp, hence my question :)17:40
sjmc7yeah17:40
sjmc7so we need 9 for the updated_at17:40
sjmc7which gives us a Y2k33 bug and is probably fine17:41
TravTif we're still working on this in y2k33, we should be thankful to have that kind of job security17:41
sjmc7and 9 digits from the TS gives 27 or so hours17:41
sjmc7right17:41
sjmc7so given that, are we ok with it? i’ll ask lei to put the numbers in the docs17:41
sjmc7and given all THAT are we ok that our timestamps are above what javascript can use?17:42
sjmc7i don’t know why we’d care but it did come up17:42
TravTso, this is still the 9 + 9 i put in original comment or did something change.17:44
TravTi think aliens just abducted my brain for 2 seconds17:44
sjmc7it’s still 9+9 but the reasoning wasn’t right17:44
sjmc7and while i think it’s still ok i’m asking lei to be explicit with the numbers17:44
sjmc7so nobody else spends 30 minutes dividing things by 3600 :)17:44
TravThttps://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&es_th=1&ie=UTF-8#safe=active&q=999999999+milliseconds+in+hours17:45
TravTi'm not confusing myself on how much leeway that gives us17:45
TravTthe "27 hours" is just some spot representation of time17:45
sjmc71499999999 -> 150000000017:45
TravTright, that gives us quite awhile...17:46
TravTi'm talking about the timestamp (tiebreaker)17:46
sjmc7yes.17:46
TravTi think it is still as best we can do...17:47
TravTre: javascript17:47
sjmc7one update on may 17th 2017 at 21:39:59 will look like it came after one at 22:40:00 on the same day17:48
sjmc7i think i’m confusing myself now though17:48
sjmc7so i’m gonna stop17:48
TravTi don't know what to do about version in javascript or if we should care17:50
sjmc7let’s not care17:50
sjmc7job done!17:50
TravTwhat's this about may 17, 2017?17:51
TravTis that when we go back to the future?17:51
sjmc7no.. i’m trying to say that the 277 hour number is not reliable. but i think we’ll have to agree to disagree17:51
sjmc7and in any case i’m not sure it matters as long as it’s more than a few hours17:52
TravTi'm not disagreeing17:52
TravTthis kind just needs to be written out clearly, like you said.17:52
sjmc7my reasoning comes from: if you truncate to N digits17:52
TravTit would probably be best for you to write exactly what you think makes sense in a comment.17:52
TravTfor him to add17:52
sjmc7only N-1 digits are reliable17:52
sjmc7as a relative measure17:52
sjmc7yeah, i am17:53
TravTyeah, the rollover17:53
sjmc7i wanted to try to argue the rollover first to avoid confusion17:53
sjmc7in case i was insisting something that was wrong17:53
TravTit was something i hadn't thought about.17:53
sjmc7it’s all i think about17:53
sjmc7everything rolling over17:53
TravTi'm hoping my 401k can rollover if i get fired from this job for not creating the next y2k17 bug17:54
TravT(remove not) ^17:54
* TravT lame humor of the day17:54
sjmc7:)17:54
TravTok, so, i have to go. I have to go stand in line to get an xray17:54
sjmc7you are guaranteed of that, at least under this administration17:55
sjmc7ok, good luck! don’t jiggle17:55
TravThasta17:55
lakshmiSif you are going to stand in line, then your leg might be perfect :)17:55
sjmc7:)17:56
*** lakshmiS_ has joined #openstack-searchlight18:23
*** lakshmiS has quit IRC18:26
*** lakshmiS has joined #openstack-searchlight18:30
*** lakshmiS_ has quit IRC18:32
*** lakshmiS_ has joined #openstack-searchlight18:34
*** lakshmiS has quit IRC18:35
*** sjmc7 has quit IRC18:50
*** sjmc7 has joined #openstack-searchlight19:26
*** itisha has joined #openstack-searchlight20:21
*** sjmc7 has quit IRC20:33
*** sjmc7 has joined #openstack-searchlight20:41
*** nikhil_k is now known as nikhil_21:01
*** nikhil_ is now known as nikhil_k21:02
*** krotscheck is now known as krotscheck_dcm21:03
*** nikhil has quit IRC21:44
*** nikhil_k is now known as nikhil21:45
sjmc7TravT: missed your comment on https://review.openstack.org/#/c/267864 yesterday; I am done working on it unless there are any issues. one thing that does need fixing is https://bugs.launchpad.net/searchlight/+bug/1543245 but i want to base that fix on top of the parent/child change22:10
openstackLaunchpad bug 1543245 in OpenStack Search (Searchlight) "User Role: Designate domains need user roles" [High,Confirmed] - Assigned to Steve McLellan (sjmc7)22:10
TravTok22:39
TravTi'll go through it again then22:39
sjmc7ta22:39
TravTsjmc7: that patch looks all good.23:16
sjmc7that’s a first23:16
TravTit probably should have release note23:16
sjmc7ah, yeah.23:16
sjmc7ok, let me add that before you review it23:16
TravTcool23:16
sjmc7i don’t think i’ll ever remember to do them23:17
TravTit is a shitty process23:17
TravTi wish they could be generated from launchpad or something for bugs23:17
sjmc7i should have a git review hook23:17
sjmc7“have you done a release note?"23:17
TravTthat's not a terrible idea23:18
TravTi think release notes will be hit or miss across projects23:18
TravTi shouldn't say it is shi***23:18
TravTbecause it is better to have it automated and in git rather than the old wiki way, i suppose23:19
TravTkind like if I would deal with all the litter that the mailman leaves in my mailbox as it comes, then it wouldn't pile up23:19
openstackgerritSteve McLellan proposed openstack/searchlight: Index child plugins as part of parent  https://review.openstack.org/26786423:25
sjmc7ok, done23:25
sjmc7yeah, i’ll get used to it23:25
TravTi just +2'd the CORS patch23:27
TravTbut i don't have a great way to verify it really has all the headers we want23:27
TravTat least it has the minimum headers we think we need23:27
sjmc7yeah. we can add more23:31
sjmc7i’ll +A it in a bit23:31
*** lakshmiS_ has quit IRC23:45
*** sigmavirus24 is now known as sigmavirus24_awa23:51
*** lakshmiS has joined #openstack-searchlight23:58

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