Thanks Tom. I will retry my scenario and file a bug (on why CDCN is not
eventually dispatched after leader election is complete) to track it.

On Mon, Apr 3, 2017 at 11:29 AM, Tom Pantelis <tompante...@gmail.com> wrote:

> A regular DCL is only notified on the leader. I believe a ClusteredDCL is
> notified once a leader is elected but I don't have access to the code right
> now to check..
>
> On Mon, Apr 3, 2017 at 11:05 AM, Srini Seetharaman <
> srini.seethara...@gmail.com> wrote:
>
>> Thanks Tom.
>>
>> Last question - What happens when I register for DCN when the data store
>> is unavailable because of re-election or other transition states?
>>
>> I noticed a case where CDCNs are not dispatched when I register for the
>> CDCN during the datastore being unavailable. Sequence is as follows:
>> 1. Data store unavailable and in the process of coming up
>> 2. Receive role update for entity isOwner=true
>> 3. Register for DCN from config store, but no DCN shows up even though
>> data exists
>> 4. Data store becomes available
>>
>>
>> On Fri, Mar 31, 2017 at 11:06 AM, Tom Pantelis <tompante...@gmail.com>
>> wrote:
>>
>>> As long as a transaction is applied to the data tree it will dispatch
>>> DCNs.
>>>
>>> On Fri, Mar 31, 2017 at 1:56 PM, Srini Seetharaman <
>>> srini.seethara...@gmail.com> wrote:
>>>
>>>> Thanks Tom. In case the data store becomes unavailable right after the
>>>> commit completes (perhaps because the cluster quorum is down), will the DCN
>>>> still be dispatched?
>>>>
>>>> On Thu, Mar 30, 2017 at 11:59 AM, Tom Pantelis <tompante...@gmail.com>
>>>> wrote:
>>>>
>>>>> yes - a transaction has to be replicated and applied to the data tree
>>>>> before DCNs are generated.
>>>>>
>>>>> On Thu, Mar 30, 2017 at 2:38 PM, Srini Seetharaman <
>>>>> srini.seethara...@gmail.com> wrote:
>>>>>
>>>>>> Hi, whenever a write transaction is performed, does the 3-phase
>>>>>> commit complete before the DCN is dispatched to the listeners?
>>>>>>
>>>>>> thanks
>>>>>> Srini.
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to