Hi Azeez,

On Fri, Aug 23, 2013 at 6:20 PM, Afkham Azeez <az...@wso2.com> wrote:

> As they have mentioned, when the network partitioning happens, the system
> will work as two separate clusters. So we will get the situation where
> there are two coordinators, assigning task to the members in their
> respective clusters. We would need the tasks themselves to ensure that no
> two instances run at the same time if their activities are not idempotent.
>

Yep, that seems to be the case. Will be updating the docs with this
recommendations.

Cheers,
Anjana.


>
> Azeez
>
>
> On Fri, Aug 23, 2013 at 6:17 PM, Afkham Azeez <az...@wso2.com> wrote:
>
>> Documentation on Hazelcast & split brain situations:
>> http://www.hazelcast.com/docs/1.9.4/manual/multi_html/ch11s05.html
>>
>>
>> On Fri, Aug 23, 2013 at 6:01 PM, Anjana Fernando <anj...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> The code review participants: Azeez, Anjana, PrabathA, Gihan, Inosh,
>>> Malith, Chanika, Maninda, Dunith.
>>>
>>> * The "ClusteredTaskManagerFactory", should simply throw a
>>> RuntimeException (IllegalStateException).
>>> * Hazelcast can lead to a split brain scenario, where the leader
>>> election procedure can result in two leaders in the system. The docs has to
>>> contain a mention about this unlikely situation where, the same task can be
>>> scheduled twice in two different nodes, and the logic inside the task needs
>>> to detect this situation. Or else, if the operation done inside the task is
>>> anyway idempotent, it is OK.
>>>
>>> Cheers,
>>> Anjana.
>>>
>>>
>>> On Fri, Aug 23, 2013 at 2:41 PM, Anjana Fernando <anj...@wso2.com>wrote:
>>>
>>>>  more details 
>>>> »<https://www.google.com/calendar/event?action=VIEW&eid=OGFrcGU3b292bmJmOXZqYmgwdWszMWV1c2cgZGV2QHdzbzIub3Jn&tok=MTUjYW5qYW5hQHdzbzIuY29tYjdlNGNkMWFiOGNmMDAxZWIwZWM2YzE5ZWQ3MTY5OGRiZTUzNWE2YQ&ctz=Asia/Colombo&hl=en>
>>>> Code Review - NTask Hazelcast Integration
>>>> *When*
>>>> ********Fri Aug 23, 2013 4:30pm – 5pm Colombo
>>>> *Where*
>>>> #20, 1'st Floor, Conf Room 
>>>> (map<http://maps.google.lk/maps?q=%2320,+1'st+Floor,+Conf+Room&hl=en>
>>>> )
>>>> *Calendar*
>>>> anj...@wso2.com
>>>> *Who*
>>>>  •
>>>> anj...@wso2.com - organizer
>>>> •
>>>> Malith Dhanushka
>>>> •
>>>> Prabath Abeysekera
>>>> •
>>>> Afkham Azeez
>>>> •
>>>> Dunith Dhanushka
>>>> •
>>>> Maninda Edirisooriya
>>>> •
>>>> Chanika Geeganage
>>>> •
>>>> Gihan Anuruddha
>>>> •
>>>> dev@wso2.org
>>>> •
>>>> Inosh Goonewardena
>>>> •
>>>> Ayashkantha Ramasinghe
>>>>
>>>> Going?   
>>>> ***Yes<https://www.google.com/calendar/event?action=RESPOND&eid=OGFrcGU3b292bmJmOXZqYmgwdWszMWV1c2cgZGV2QHdzbzIub3Jn&rst=1&tok=MTUjYW5qYW5hQHdzbzIuY29tYjdlNGNkMWFiOGNmMDAxZWIwZWM2YzE5ZWQ3MTY5OGRiZTUzNWE2YQ&ctz=Asia/Colombo&hl=en>-
>>>> Maybe<https://www.google.com/calendar/event?action=RESPOND&eid=OGFrcGU3b292bmJmOXZqYmgwdWszMWV1c2cgZGV2QHdzbzIub3Jn&rst=3&tok=MTUjYW5qYW5hQHdzbzIuY29tYjdlNGNkMWFiOGNmMDAxZWIwZWM2YzE5ZWQ3MTY5OGRiZTUzNWE2YQ&ctz=Asia/Colombo&hl=en>-
>>>> No<https://www.google.com/calendar/event?action=RESPOND&eid=OGFrcGU3b292bmJmOXZqYmgwdWszMWV1c2cgZGV2QHdzbzIub3Jn&rst=2&tok=MTUjYW5qYW5hQHdzbzIuY29tYjdlNGNkMWFiOGNmMDAxZWIwZWM2YzE5ZWQ3MTY5OGRiZTUzNWE2YQ&ctz=Asia/Colombo&hl=en>
>>>> *    **more options 
>>>> »<https://www.google.com/calendar/event?action=VIEW&eid=OGFrcGU3b292bmJmOXZqYmgwdWszMWV1c2cgZGV2QHdzbzIub3Jn&tok=MTUjYW5qYW5hQHdzbzIuY29tYjdlNGNkMWFiOGNmMDAxZWIwZWM2YzE5ZWQ3MTY5OGRiZTUzNWE2YQ&ctz=Asia/Colombo&hl=en>
>>>>
>>>> Invitation from Google Calendar <https://www.google.com/calendar/>
>>>>
>>>> You are receiving this courtesy email at the account dev@wso2.orgbecause 
>>>> you are an attendee of this event.
>>>>
>>>> To stop receiving future notifications for this event, decline this
>>>> event. Alternatively you can sign up for a Google account at
>>>> https://www.google.com/calendar/ and control your notification
>>>> settings for your entire calendar.
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Anjana Fernando*
>>> Technical Lead
>>> WSO2 Inc. | http://wso2.com
>>> lean . enterprise . middleware
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>



-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to