I think I found what's happening.

* CEP starts to synch from a Snapshot as soon as it got to know that
there's a new member, hence, it complains that there're no exec. plans
(other node is still starting up, hence no execution plans yet). (there was
a NPE while doing this and I fixed it in
https://github.com/wso2/siddhi/pull/135/files)
* Then the active node, keeps trying till the other node gets to the
correct state.

And I think we can implement an exponential backoff instead of doing the
check one after another. Wdyt?


On Tue, Apr 12, 2016 at 2:26 PM, Nirmal Fernando <[email protected]> wrote:

> Yes me too. There were more logs. Basically, once the other node joined,
> these kind of logs got printed around 3/4 times.
>
> On Tue, Apr 12, 2016 at 2:18 PM, Sriskandarajah Suhothayan <[email protected]>
> wrote:
>
>> I'm wondering why there are lots of Snapshot taken at with close time
>> gap.
>>
>> On Tue, Apr 12, 2016 at 1:56 PM, Nirmal Fernando <[email protected]> wrote:
>>
>>> Hi CEP team,
>>>
>>> Shall we move these info logs to debug level?
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,094]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Snapshot
>>> serialization finished. {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,096]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Taking snapshot ...
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,097]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Taking snapshot
>>> finished. {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,097]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Snapshot
>>> serialization started ...
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,097]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Snapshot
>>> serialization finished. {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,097]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Taking snapshot ...
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,098]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Taking snapshot
>>> finished. {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,098]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Snapshot
>>> serialization started ...
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,101]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Snapshot
>>> serialization finished. {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,101]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Taking snapshot ...
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,101]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Taking snapshot
>>> finished. {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,101]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Snapshot
>>> serialization started ...
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,102]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Snapshot
>>> serialization finished. {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,102]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Taking snapshot ...
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,102]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Taking snapshot
>>> finished. {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,102]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Snapshot
>>> serialization started ...
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>>
>>> TID: [-1] [] [2016-04-12 08:24:47,103]  INFO
>>> {org.wso2.siddhi.core.util.snapshot.SnapshotService} -  Snapshot
>>> serialization finished. {org.wso2.siddhi.core.util.snapshot.SnapshotService}
>>> --
>>>
>>> Thanks & regards,
>>> Nirmal
>>>
>>> Team Lead - WSO2 Machine Learner
>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>> Mobile: +94715779733
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>>
>>>
>>
>>
>> --
>>
>> *S. Suhothayan*
>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>> *WSO2 Inc. *http://wso2.com
>> * <http://wso2.com/>*
>> lean . enterprise . middleware
>>
>>
>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter:
>> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
>> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
>>
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 

Thanks & regards,
Nirmal

Team Lead - WSO2 Machine Learner
Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to