Sunday, 2016-03-20

*** yuval has joined #openstack-smaug06:42
openstackgerritYuval Brik proposed openstack/smaug: Implement the common logic for service client  https://review.openstack.org/29152810:47
openstackgerritYuval Brik proposed openstack/smaug: Implement Nova service client  https://review.openstack.org/29153211:07
openstackgerritYuval Brik proposed openstack/smaug: Implement Cinder service client  https://review.openstack.org/29153511:10
openstackgerritYuval Brik proposed openstack/smaug: Implement Glance service client  https://review.openstack.org/29211911:12
*** gampel1 has joined #openstack-smaug11:26
openstackgerritYuval Brik proposed openstack/smaug: Implement Cinder service client  https://review.openstack.org/29153511:27
gampel1saggi: look at https://review.openstack.org/#/c/281618/911:30
openstackgerritYuval Brik proposed openstack/smaug: Implement Glance service client  https://review.openstack.org/29211911:31
openstackgerritYuval Brik proposed openstack/smaug: Implement Glance service client  https://review.openstack.org/29211911:48
*** chenying has quit IRC12:24
*** chenying has joined #openstack-smaug12:24
*** gampel1 has quit IRC14:19
chenzengping yuval14:26
chenzengyuval:are you there?14:26
yuvalYes14:41
yuvalping chenzeng14:41
chenzengyuval, are you still there?14:50
yuvalyes14:50
chenzengwould you please see the comments i replied to you on "time trigger design'14:52
chenzenghttps://review.openstack.org/#/c/271210/14:52
chenzengmaybe you have not understood my design.14:52
yuvalI think we have a misunderstanding :)14:53
chenzengi think so14:53
yuvalAs far as I understand, TimeTrigger decides the "when", and operation decides the "what". Therefor, for each time trigger (i.e "daily at 12:00"), we can bind 10 operations. Once that trigger "pops", we can execute all operations14:54
chenzengin my design TimeTrigger is not a single trigger, it holds a lot of operations. it doesn't define when. it is a scheduler actually.14:56
chenzengi think you should understand my design from the codes.14:57
yuvalSay I have two triggers: daily at 12pm and weekly every sunday. Do I have two instances of TimeTrigger?14:58
chenzengno14:59
chenzengmaybe the name of TimeTrigger misleads you.15:00
chenzengi describe my designs to you.15:00
yuvalSure15:00
chenzengthere is only one instance of TimeTrigger in system.15:01
chenzengit has an instance of JobStore which hold all operations registerd to TimeTrigger.15:02
chenzengTimeTrigger query from the JobStore which operation should to be run, and submit it the Executor.15:03
yuvalDo you know which patch contains the TriggerManager class? I can't find it15:03
chenzenghttps://review.openstack.org/#/c/27608115:05
chenzengthe class Job hold the operation id and its trigger info from which the 'next run time' can be canculated.15:08
chenzengmaybe i should update the  class diagram in order to make the design clearer.15:16
chenzengyuval: are you there? if you get any questions, please give me comments. tommorrow, i will reply you. thank you very much.15:22
yuvalchenzeng: I'm here15:22
chenzengyuval:ok15:23
chenzengyuval:i think there is a little hard to understand my design only by reading the codes.15:24
chenzengyuval:i have to go to bed. thanks for you to read my codes. i hope to discuss with you.15:34
yuvalchenzeng: sure thing, good night15:34
*** yuval has quit IRC15:34
openstackgerritSaggi Mizrahi proposed openstack/smaug: Create BankCheckpointCollection implementation  https://review.openstack.org/28032522:15
openstackgerritSaggi Mizrahi proposed openstack/smaug: Proposed Smaug API v1.0  https://review.openstack.org/24475622:25

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