|
|
Jared Cantwell 2011-02-03, 16:28
Hi all!
This may be a silly question, but I can't find the answer in the docs anywhere. If you perform a sync operation (to flush the leader/follower channel), it takes in a path. What is that path used for? Is only that path sync'd? Are children of that path sync'd? Is the whole tree sync'd? I am hoping that the path and its children are sync'd.
Thanks, Jared
Benjamin Reed 2011-02-03, 16:36
in the current implementation everything is synced. the reason there is a path there is that we would like to be able to partition the namespace, and in that case, only the portion of the namespace that contains the path would be synced, but since we only have a single namespace right now, the path is rather superfluous.
ben
On 02/03/2011 08:28 AM, Jared Cantwell wrote: > Hi all! > > This may be a silly question, but I can't find the answer in the docs > anywhere. If you perform a sync operation (to flush the leader/follower > channel), it takes in a path. What is that path used for? Is only that > path sync'd? Are children of that path sync'd? Is the whole tree sync'd? > I am hoping that the path and its children are sync'd. > > Thanks, > Jared
Flavio Junqueira 2011-02-03, 16:37
If I remember correctly, the path is just a reference so that you know which call the callback is referring to.
-Flavio
On Feb 3, 2011, at 5:28 PM, Jared Cantwell wrote:
> Hi all! > > This may be a silly question, but I can't find the answer in the docs > anywhere. If you perform a sync operation (to flush the leader/ > follower > channel), it takes in a path. What is that path used for? Is only > that > path sync'd? Are children of that path sync'd? Is the whole tree > sync'd? > I am hoping that the path and its children are sync'd. > > Thanks, > Jared
flavio junqueira
research scientist
[EMAIL PROTECTED] direct +34 93-183-8828
avinguda diagonal 177, 8th floor, barcelona, 08018, es phone (408) 349 3300 fax (408) 349 3301
Jared Cantwell 2011-02-03, 16:41
Thanks guys! That helps a lot.
~Jared
On Thu, Feb 3, 2011 at 11:37 AM, Flavio Junqueira <[EMAIL PROTECTED]> wrote:
> If I remember correctly, the path is just a reference so that you know > which call the callback is referring to. > > -Flavio > > On Feb 3, 2011, at 5:28 PM, Jared Cantwell wrote: > > Hi all! > > This may be a silly question, but I can't find the answer in the docs > anywhere. If you perform a sync operation (to flush the leader/follower > channel), it takes in a path. What is that path used for? Is only that > path sync'd? Are children of that path sync'd? Is the whole tree sync'd? > I am hoping that the path and its children are sync'd. > > Thanks, > Jared > > > *flavio* > *junqueira* > > research scientist > > [EMAIL PROTECTED] > direct +34 93-183-8828 > > avinguda diagonal 177, 8th floor, barcelona, 08018, es > phone (408) 349 3300 fax (408) 349 3301 > > >
|
|