*** angdraug has quit IRC | 00:31 | |
*** dshulyak has joined #openstack-solar | 06:44 | |
openstackgerrit | Dmitry Shulyak proposed openstack/solar: Refactoring of graph.py and usage of it in scheduler https://review.openstack.org/294605 | 07:07 |
---|---|---|
openstackgerrit | Dmitry Shulyak proposed openstack/solar: Implement traversal based on number of childs https://review.openstack.org/295348 | 07:07 |
openstackgerrit | Dmitry Shulyak proposed openstack/solar: Implement traversal based on number of childs https://review.openstack.org/295348 | 07:52 |
*** dshulyak has quit IRC | 07:57 | |
*** dshulyak has joined #openstack-solar | 08:20 | |
*** salmon_ has joined #openstack-solar | 08:25 | |
*** salmon_ has quit IRC | 08:28 | |
*** salmon_ has joined #openstack-solar | 08:32 | |
*** openstackgerrit has quit IRC | 08:33 | |
*** openstackgerrit has joined #openstack-solar | 08:33 | |
dshulyak | pigmej: hi, do we have unit test for proxy and cache? | 08:38 |
openstackgerrit | Dmitry Shulyak proposed openstack/solar: Use WeakValueDictionary instead of WeakSet in DBModelProxy https://review.openstack.org/295675 | 08:47 |
dshulyak | pigmej: please check it out ^^ | 08:47 |
pigmej | dshulyak: k | 08:53 |
pigmej | does it solve your problem? | 08:53 |
dshulyak | pigmej: yes, i just need to be able to use original __hash__ function | 08:54 |
pigmej | k | 08:54 |
pigmej | dshulyak: https://review.openstack.org/#/c/295348/ it fails :( | 09:49 |
dshulyak | so ? | 09:49 |
dshulyak | i didnt ask to merge it :) | 09:49 |
pigmej | ah :) | 09:50 |
openstackgerrit | Dmitry Shulyak proposed openstack/solar: Implement traversal based on number of childs https://review.openstack.org/295348 | 09:54 |
pigmej | dshulyak: https://github.com/openstack/solar/blob/master/solar/dblayer/lfu_cache.py#L79-L80 | 09:54 |
pigmej | I think your patch broke this | 09:54 |
pigmej | oh no, it's ok | 09:55 |
pigmej | nvm dshulyak :) | 09:55 |
*** dshulyak has quit IRC | 10:11 | |
*** dshulyak has joined #openstack-solar | 10:32 | |
mkwiek | hi guys, is there an easy way to recreate riak container in vagrant dev box? | 11:37 |
mkwiek | I don't have this container anymore for some reason, or it wasn't created when I was re-running vagrant up | 11:37 |
pigmej | mkwiek: there is | 11:38 |
pigmej | vagrant provision solar-dev | 11:38 |
pigmej | or just search for it in docker ps -a | 11:38 |
pigmej | and docker start {id} | 11:38 |
mkwiek | I don't have anything in docker ps -a, will try to run provisioning | 11:39 |
mkwiek | thanks! | 11:39 |
pigmej | docker provision then ;) | 11:39 |
pigmej | mkwiek: works ? :) | 12:11 |
mkwiek | yupp, thanks :) | 12:11 |
*** zefciu has joined #openstack-solar | 12:13 | |
pigmej | hey zefciu :) | 13:41 |
*** zefciu has quit IRC | 13:44 | |
*** 14WAAJK8J has joined #openstack-solar | 14:13 | |
*** 14WAAJK8J has quit IRC | 14:14 | |
*** zefciu has joined #openstack-solar | 14:15 | |
openstackgerrit | Dmitry Shulyak proposed openstack/solar: Read part of the graph in update_next method of scheduler https://review.openstack.org/295857 | 14:25 |
pigmej | dshulyak: I have question, why do you need that "weight" field ? | 14:26 |
dshulyak | pigmej: i added example in commit message, basically it is used to unlock parallel execution of tasks | 14:27 |
pigmej | I mean that 'update' in assign_weigths | 14:27 |
pigmej | yeah but do we need it as field ? | 14:28 |
dshulyak | what do you mean? | 14:28 |
pigmej | why not just simple index fetch and count ? | 14:28 |
dshulyak | index fetch? | 14:28 |
dshulyak | it is not that simple | 14:28 |
pigmej | k | 14:28 |
pigmej | this assign_weights is called on "unsaved" graph, right? | 14:29 |
dshulyak | it is cumulative sum of weight of all childs | 14:29 |
pigmej | it's only on 'process' ? | 14:29 |
pigmej | so it's still a number of entries in some index "below" but yeah I get the point | 14:29 |
*** zefciu has quit IRC | 14:29 | |
dshulyak | for now it is in process, maybe i can move it to scheduler.next method, but yes it needs to be done only once | 14:30 |
pigmej | I like that it's in process :P | 14:31 |
pigmej | :) | 14:31 |
*** openstackgerrit has quit IRC | 14:33 | |
*** openstackgerrit has joined #openstack-solar | 14:34 | |
*** angdraug has joined #openstack-solar | 15:02 | |
*** angdraug has quit IRC | 17:40 | |
*** angdraug has joined #openstack-solar | 17:58 | |
*** angdraug has quit IRC | 18:01 | |
*** angdraug has joined #openstack-solar | 18:40 | |
*** dshulyak has quit IRC | 19:58 | |
*** openstackgerrit has quit IRC | 21:48 | |
*** openstackgerrit has joined #openstack-solar | 21:49 | |
*** salmon_ has quit IRC | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!