Thanks Tom.

-Karthik

From: Tom Pantelis [mailto:[email protected]]
Sent: Wednesday, July 5, 2017 09:47 PM
To: Karthik Rajagopalan <[email protected]>
Cc: [email protected]
Subject: Re: [controller-dev] Cohorts not being triggered on reboot of server, 
only DataTreeChangeListeners are triggered



On Wed, Jul 5, 2017 at 10:07 AM, Karthik Rajagopalan 
<[email protected]<mailto:[email protected]>> wrote:
            Controller after boot up triggers registered 
DataTreeChangeListeners, but doesn’t triggered the cohorts.
            Is this expected behaviour

yes - commit cohorts are triggered when a transaction is first committed. When 
recovered from persistence, transactions have already gone thru validation and 
were previously applied so they're just applied to the data tree.  Also, 
recovery occurs on shard initialization/bootstrapping so the datastore isn't 
even ready at that point for cohorts to be registered.


Regards,
Karthik


_______________________________________________
controller-dev mailing list
[email protected]<mailto:[email protected]>
https://lists.opendaylight.org/mailman/listinfo/controller-dev

_______________________________________________
controller-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to