curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Tschetter <eched...@gmail.com>
Subject Re: PathChildrenCache and event order
Date Thu, 19 Sep 2013 23:26:52 GMT
Can you give some more insight into what end goal you are trying to achieve?

--Eric

On Thursday, September 19, 2013, Eric Tschetter wrote:

> Benjamin,
>
> That's not really possible.  Also, any protocol built around requiring
> them in order is most likely going to have nasty corner cases in the face
> of network partitions and server failures.
>
> --Eric
>
> On Thursday, September 19, 2013, Benjamin Jaton wrote:
>
>> Hello,
>>
>> I am trying to have PathChildrenCache send me create events in the same
>> order the nodes were created.
>> Is that possible?
>>
>> Attached is a simple example where I create node0, node1, node2, etc and
>> I often get the notification for node2 before node1, or the like.
>> Note: PathChildrenCache is created
>> with Executors.newSingleThreadExecutor().
>>
>> Thanks!
>> Benjamin
>>
>

Mime
View raw message