Thursday, 2014-01-02

*** oz_akan_ has quit IRC00:01
*** amitgandhi has quit IRC00:01
*** flwang has quit IRC00:02
*** oz_akan_ has joined #openstack-marconi00:17
*** flwang has joined #openstack-marconi00:17
*** oz_akan_ has quit IRC00:21
*** rongze has joined #openstack-marconi00:42
*** rongze has quit IRC00:46
*** amitgandhi has joined #openstack-marconi00:57
*** amitgandhi has quit IRC01:02
*** rongze has joined #openstack-marconi01:15
*** oz_akan_ has joined #openstack-marconi01:18
*** oz_akan_ has quit IRC01:22
*** rongze has quit IRC01:34
*** oz_akan_ has joined #openstack-marconi01:47
*** rongze has joined #openstack-marconi01:49
*** fifieldt has joined #openstack-marconi01:54
*** amitgandhi has joined #openstack-marconi01:58
*** flwang has quit IRC02:02
*** amitgandhi has quit IRC02:02
*** fifieldt has quit IRC02:15
*** amitgandhi has joined #openstack-marconi03:08
*** amitgandhi has quit IRC03:13
*** oz_akan_ has quit IRC03:41
*** amitgandhi has joined #openstack-marconi03:58
*** amitgandhi has quit IRC04:03
*** oz_akan_ has joined #openstack-marconi04:12
*** oz_akan__ has joined #openstack-marconi04:14
*** oz_akan_ has quit IRC04:17
*** oz_akan__ has quit IRC04:18
*** rongze has quit IRC04:47
*** rongze has joined #openstack-marconi04:48
*** flwang has joined #openstack-marconi04:48
*** rongze has quit IRC04:52
*** oz_akan_ has joined #openstack-marconi05:04
*** amitgandhi has joined #openstack-marconi05:09
*** amitgandhi has quit IRC05:13
*** rongze has joined #openstack-marconi05:18
*** rongze has quit IRC05:20
*** rongze_ has joined #openstack-marconi05:20
*** rongze_ has quit IRC05:25
*** chandankumar has joined #openstack-marconi05:48
*** amitgandhi has joined #openstack-marconi05:59
*** oz_akan_ has quit IRC06:03
*** amitgandhi has quit IRC06:03
*** rongze has joined #openstack-marconi06:18
*** balajiiyer has quit IRC06:19
*** rongze has quit IRC06:23
*** rongze has joined #openstack-marconi06:28
*** balajiiyer1 has joined #openstack-marconi06:50
*** balajiiyer1 has quit IRC06:54
*** amitgandhi has joined #openstack-marconi07:00
*** amitgandhi has quit IRC07:04
*** oz_akan_ has joined #openstack-marconi07:14
*** oz_akan_ has quit IRC07:18
*** rongze has quit IRC07:45
*** balajiiyer1 has joined #openstack-marconi07:51
*** rongze has joined #openstack-marconi07:51
*** balajiiyer1 has quit IRC07:55
*** amitgandhi has joined #openstack-marconi08:00
*** amitgandhi has quit IRC08:05
*** ykaplan has joined #openstack-marconi08:21
*** balajiiyer1 has joined #openstack-marconi08:51
*** balajiiyer1 has quit IRC08:56
*** amitgandhi has joined #openstack-marconi09:01
*** amitgandhi has quit IRC09:05
*** amitgandhi has joined #openstack-marconi09:11
*** amitgandhi has quit IRC09:15
*** balajiiyer1 has joined #openstack-marconi09:52
*** balajiiyer1 has quit IRC09:57
*** amitgandhi has joined #openstack-marconi10:02
*** amitgandhi has quit IRC10:06
*** flwang has quit IRC10:11
*** rongze_ has joined #openstack-marconi10:43
*** haomaiwang has joined #openstack-marconi10:44
*** haomaiwa_ has quit IRC10:46
*** rongze has quit IRC10:46
*** rongze_ has quit IRC10:48
*** balajiiyer1 has joined #openstack-marconi10:53
*** balajiiyer1 has quit IRC10:57
*** amitgandhi has joined #openstack-marconi11:02
*** amitgandhi has quit IRC11:06
*** amitgandhi has joined #openstack-marconi11:12
*** rongze has joined #openstack-marconi11:14
*** flwang has joined #openstack-marconi11:16
*** amitgandhi has quit IRC11:16
*** rongze_ has joined #openstack-marconi11:18
*** rongze has quit IRC11:19
*** rongze_ has quit IRC11:22
*** balajiiyer1 has joined #openstack-marconi11:54
*** balajiiyer1 has quit IRC11:58
*** rongze has joined #openstack-marconi12:02
*** amitgandhi has joined #openstack-marconi12:03
*** amitgandhi has quit IRC12:07
*** rongze has quit IRC12:36
*** rongze has joined #openstack-marconi12:37
*** rongze has quit IRC12:42
*** balajiiyer1 has joined #openstack-marconi12:54
*** balajiiyer1 has quit IRC12:59
*** rongze has joined #openstack-marconi13:03
*** amitgandhi has joined #openstack-marconi13:03
*** tedross has joined #openstack-marconi13:07
*** amitgandhi has quit IRC13:08
*** amitgandhi has joined #openstack-marconi13:13
*** amitgandhi has quit IRC13:18
*** ayoung has joined #openstack-marconi13:24
*** jcru has joined #openstack-marconi13:46
*** balajiiyer1 has joined #openstack-marconi13:47
*** oz_akan_ has joined #openstack-marconi13:52
*** balajiiyer1 has quit IRC14:01
*** amitgandhi has joined #openstack-marconi14:04
*** amitgandhi has quit IRC14:08
*** cpallares has joined #openstack-marconi14:23
*** oz_akan_ has quit IRC14:23
*** oz_akan_ has joined #openstack-marconi14:24
*** malini_afk is now known as malini14:34
*** ykaplan has quit IRC14:38
*** balajiiyer has joined #openstack-marconi14:39
*** amitgandhi has joined #openstack-marconi14:41
*** amitgandhi has quit IRC14:43
*** balajiiyer has quit IRC14:46
*** balajiiyer has joined #openstack-marconi14:46
*** alcabrera has joined #openstack-marconi14:50
alcabreraGood morning! :)14:51
*** amitgandhi has joined #openstack-marconi14:52
*** amitgandhi has quit IRC14:52
*** amitgandhi has joined #openstack-marconi14:53
*** ykaplan has joined #openstack-marconi14:55
cpallareshello alcabrera!15:03
alcabreracpallares: hey! Happy new year! How are you? :D15:05
cpallaresalcabrera: happy new year :D15:06
cpallaresI'm doing good today, how about you? How was your new years?15:06
alcabreraIt was relaxing. I watched British comedy (QI) with my wife and house mate while we looked back on 2013.15:07
*** ametts has joined #openstack-marconi15:10
cpallaresalcabrera: that sounds pleasant :) was the movie good?15:15
cpallaresI've never heard of it.15:15
alcabreracpallares: It's actually a trivia show. :D15:17
alcabreraThey put together 4 comedians along with Stephen Fry and they talk about little known but Quite Interesting facts. :)15:17
alcabrerahttp://en.wikipedia.org/wiki/QI15:18
cpallaresalcabrera: ooooooh yeees I think I've seen a video of it.15:19
cpallaresalcabrera: this one https://www.youtube.com/watch?v=LjBnF0xqpfc15:19
alcabreracpallares: yup! That's the show. :D15:20
* cpallares was amazed at the hydrophobic sand15:21
cpallaresalcabrera: I thought it was just a regular talk show. I think I'll start watching it now.15:22
cpallareslol I thought Stephen Fry was a guest15:23
alcabreraturns out he's the host! Allen Davis also appears on every show. Their interactions are a fun mainstay of the show. It makes for great dinner media. :)15:24
*** rongze has quit IRC15:34
*** kgriffs_afk is now known as kgriffs15:42
*** rongze has joined #openstack-marconi15:44
malinithanks alcabrera for the tempest review..You are faster than jenkins :)15:50
alcabreramalini: :)15:53
alcabreraLooked good to me - let's see what Jenkins thinks!15:53
maliniI hope Jenkins thinks like you ;)15:54
*** jergerber has joined #openstack-marconi16:23
*** whenry has joined #openstack-marconi16:25
*** ykaplan has quit IRC16:28
*** wirehead_1 is now known as wirehead_16:41
*** rongze has quit IRC16:48
*** rongze has joined #openstack-marconi16:49
cpallareskgriffs, if you're not too busy can you check this one? https://review.openstack.org/#/c/59508/17:07
kgriffscpallares: I'll try to get to it today, but I'm working on a different project and may not get back around to marconi until tomorrow17:07
kgriffssorry for the wait!17:08
* kgriffs wishes he could clone himself sometimes17:08
cpallaresno worries, kgriffs! And thanks17:10
*** rongze has quit IRC17:17
*** rongze has joined #openstack-marconi17:18
*** rongze has quit IRC17:18
*** rongze has joined #openstack-marconi17:19
*** rwsu has joined #openstack-marconi17:27
*** alcabrera is now known as alcabrera|afk17:32
*** rongze has quit IRC17:45
*** rongze has joined #openstack-marconi17:47
*** rossk has joined #openstack-marconi17:55
*** alcabrera|afk is now known as alcabrera17:59
*** rongze has quit IRC18:09
*** amitgandhi has quit IRC18:36
*** chandankumar has quit IRC18:38
*** rongze has joined #openstack-marconi18:40
*** amitgandhi has joined #openstack-marconi18:43
*** amitgandhi has quit IRC18:44
*** amitgandhi has joined #openstack-marconi18:44
*** rongze has quit IRC18:45
*** amit has joined #openstack-marconi18:49
*** amit is now known as Guest8430918:49
*** ametts has quit IRC18:50
*** amitgandhi has quit IRC18:52
*** reed has joined #openstack-marconi18:56
cpallareshey alcabrera, I had forgotten about this lonely bug https://bugs.launchpad.net/marconi/+bug/124637319:00
* alcabrera checks19:00
cpallaresalcabrera: but looking at it now, I'm not sure exactly what I'm supposed to do19:00
cpallaresthe @property = lazy.property?19:00
cpallaresor did it change?19:00
cpallares*lazy_property19:01
alcabreraI'm trying to remember what this one was about. It's one of those times I wish I left myself more notes to understand what I was saying. :P19:01
cpallareslol! " wish I left myself more notes to understand what I was saying" = the life of a developer :P19:03
alcabreracpallares: I think I see what I was saying when I wrote this up.19:03
alcabrerahahaha, yup.19:03
*** rongze has joined #openstack-marconi19:03
alcabrerait's not about lazy.property19:03
*** ametts has joined #openstack-marconi19:04
alcabreraIt's because there's no need to access a separate logical DB when working with the catalogue/sharding. Instead of having shards_database and catalogue_database, it made sense to expose a 'database' property.19:04
alcabreraI partitioned it out early on out of habit when writing up that section, so now this refactoring bug ticket exists. :)19:04
alcabreras/writing/implementing19:05
cpallaresalcabrera: i'm not sure I understand :(19:07
alcabrerahmmm19:07
alcabreraI'm trying to understand the "why" of this ticket better myself. :/19:07
cpallaresalcabrera: they should share the same database?19:08
alcabreracpallares: yup! I see more of the "why" now, reading the code.19:09
alcabreraWhen I speak of logical DBs here, mongo has this notion of creating namespaces in a physical DB - that namespace is the logical component.19:09
alcabreraLooking in marconi.queues.storage.mongodb.driver19:09
cpallareshttps://github.com/openstack/marconi/blob/master/marconi/queues/storage/mongodb/driver.py#L128-L13119:10
alcabreraI see that the sharding map is stored in <logical_DB>_shards and the catalogue is stored in <logical_DB>_catalogue.19:10
alcabreracpallares: yes, there! Thanks! :)19:10
alcabreraSo since the entries stored in the database don't overlap (catalogue uses keys 'p_q', 's', shards uses keys ['n', 'o', 'u', 'w']) -19:11
alcabrerathey can be kept in the same logical DB19:11
cpallaresso the refactoring is to take off the +19:12
alcabreratherefore, removing [shards_database, catalogue_database] for a single method, [database]19:12
alcabreracpallares: yup, or just exposing a single method - database19:12
alcabreraeither way works for me19:12
cpallaresalcabrera: aah okay and the code that uses it?19:12
cpallareserm... or calls it, right?19:13
*** rongze has quit IRC19:13
alcabreracpallares: if you take the 'remove the +' approach, you won't need to change code any where else. If you use the single method approach, yeah - you'll need to fix affected code.19:13
alcabrerayup19:13
cpallaresalcabrera: which way do you think is better?19:13
cpallaresI think using one databate method would be cleaner.19:14
alcabreraThat's my thought, too.19:14
cpallaresalcabrera: okay then I'll do that, thank you :)19:14
alcabreraThanks! I'm curious to see how much would be affected. :)19:15
alcabreraNote - if you take that approach, you'll need to modify marconi.queues.storage.base first.19:15
alcabrerathat'd be the abstract base for all of these storage drivers.19:15
cpallaresso make this https://github.com/openstack/marconi/blob/master/marconi/queues/storage/base.py#L111-L119 into one single one, right?19:16
alcabrerayup!19:16
cpallaresalcabrera: what would be a good name for both of them?19:17
alcabreracpallares: oops, my eyes deceived me. >.>19:20
alcabreraActually, there's no need to modify ControllerDriverBase19:20
alcabreraSince we're concerned about catalogue_database and shards_database, which aren't mentioned there.19:20
cpallaresalcabrera: haha yeah I was looking for the database part19:21
alcabreracpallares: I've also noticed that the sqlite driver uses the single method approach. That makes me feel even better about recommending using 'database' for the ControlDriver in mongodb. :)19:25
cpallaresah that's good :)19:29
*** oz_akan_ has quit IRC19:34
*** oz_akan_ has joined #openstack-marconi19:40
openstackgerritCindy Pallares proposed a change to openstack/marconi: Change shards & catalogue db into single property  https://review.openstack.org/6471920:13
alcabreracpallares: +2 - thanks for the quick patch!20:15
*** malini is now known as malini_afk20:50
*** rongze has joined #openstack-marconi21:12
*** rongze has quit IRC21:17
alcabreraHave a goodnight, everyone. :)21:22
*** alcabrera has quit IRC21:22
*** tedross has quit IRC21:53
*** cpallares has quit IRC22:09
*** rongze has joined #openstack-marconi22:12
*** sebasmagri has quit IRC22:13
*** balajiiyer has quit IRC22:14
*** sebasmagri has joined #openstack-marconi22:15
*** rongze has quit IRC22:17
*** Alex_Gaynor has quit IRC22:20
*** Alex_Gaynor has joined #openstack-marconi22:25
*** rwsu has quit IRC22:33
*** Alex_Gaynor has quit IRC22:36
*** rwsu has joined #openstack-marconi22:40
*** Alex_Gaynor has joined #openstack-marconi22:41
openstackgerritAlex Gaynor proposed a change to openstack/python-marconiclient: Expose the stats attribute on a queue.  https://review.openstack.org/6300522:43
*** jcru has quit IRC22:47
*** rwsu has quit IRC22:59
*** oz_akan_ has quit IRC23:04
*** rwsu has joined #openstack-marconi23:12
*** rongze has joined #openstack-marconi23:13
*** rongze has quit IRC23:18
*** Guest84309 has quit IRC23:25
*** cpallares has joined #openstack-marconi23:33

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