Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-19 Thread Sela, Guy
com>; Tom Pantelis <tompante...@gmail.com> Cc: controller-dev <controller-dev@lists.opendaylight.org> Subject: Re: [controller-dev] [documentation] Questions about ODL clustering On 09/19/2016 12:20 PM, Sela, Guy wrote: > Oh I missed the fact you are talking about the

Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-19 Thread Robert Varga
On 09/19/2016 11:13 AM, Sela, Guy wrote: > Do all of them have a joint root? (YangInstanceIdentifier.EMPTY)? In BI world they do. In BA world they do not. > Will issuing DOMDataReadTransaction.read(YangInstanceIdentifier.EMPTY) > provide me a snapshot of all? > Sounds like it can't work in a

Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-19 Thread Sela, Guy
ilto:controller-dev-boun...@lists.opendaylight.org] On Behalf Of Robert Varga Sent: Monday, September 19, 2016 11:26 AM To: Sela, Guy <guy.s...@hpe.com>; Tom Pantelis <tompante...@gmail.com> Cc: controller-dev <controller-dev@lists.opendaylight.org> Subject: Re: [controller-dev] [documen

Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-19 Thread Robert Varga
On 09/18/2016 02:28 PM, Sela, Guy wrote: > What I mean is to be able to create a snapshot of the entire state and not > only a specific data tree. Do you by 'specific data tree' mean 'specific subtree'? We do not guarantee consistency across shards, but you can read all shards by issuing a

Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-18 Thread Sela, Guy
...@lists.opendaylight.org] On Behalf Of Robert Varga Sent: Sunday, September 18, 2016 1:28 PM To: Sela, Guy <guy.s...@hpe.com>; Tom Pantelis <tompante...@gmail.com> Cc: controller-dev <controller-dev@lists.opendaylight.org> Subject: Re: [controller-dev] [documentation] Questions ab

Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-18 Thread Robert Varga
On 09/15/2016 05:17 PM, Sela, Guy wrote: > ReadOnlyTransaction tx = db.newReadOnlyTransaction(); > > CheckedFuture read1 = > tx.read(X, Y) > > CheckedFuture read2 = > tx.read(Z, H) > > > > read1 and read2 were read from different

Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-17 Thread Sela, Guy
-dev@lists.opendaylight.org> Subject: RE: [controller-dev] [documentation] Questions about ODL clustering ReadOnlyTransaction tx = db.newReadOnlyTransaction(); CheckedFuture<Optional, ReadFailedException> read1 = tx.read(X, Y) CheckedFuture<Optional, ReadFailedException> read2 = tx.

Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-15 Thread Sela, Guy
ethara...@gmail.com>; controller-dev <controller-dev@lists.opendaylight.org> Subject: Re: [controller-dev] [documentation] Questions about ODL clustering Not sure I follow your exact meaning but the snapshot isn't retaken on every read operation for a transaction. After opening a transac

Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-15 Thread Tom Pantelis
; mor...@cisco.com>; Srini Seetharaman <srini.seethara...@gmail.com>; > controller-dev <controller-dev@lists.opendaylight.org> > > *Subject:* Re: [controller-dev] [documentation] Questions about ODL > clustering > > > > I assume DataTree X and Y are in diff

Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-14 Thread Muthukumaran K
...@lists.opendaylight.org [mailto:controller-dev-boun...@lists.opendaylight.org] On Behalf Of Moiz Raja (moraja) Sent: Thursday, September 15, 2016 3:06 AM To: Tom Pantelis; Srini Seetharaman Cc: controller-dev Subject: Re: [controller-dev] [documentation] Questions about ODL clustering The single use

Re: [controller-dev] [documentation] Questions about ODL clustering

2016-09-14 Thread Moiz Raja (moraja)
aylight.org>> Subject: Re: [controller-dev] [documentation] Questions about ODL clustering All reads still go to the leader. There has been an enhancement https://bugs.opendaylight.org/show_bug.cgi?id=2504 open for this but hasn't been implemented. There is an alternative way using a Data