[CONTROLLER-783] Clustering : Registering a data change listener should be asynchronous Created: 07/Sep/14  Updated: 11/Sep/14  Resolved: 11/Sep/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Moiz Raja Assignee: Moiz Raja
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


External issue ID: 1735

 Description   

Registering a DataChangeListener on the DistributedDataStore is synchronous. This is a problem because certain applications register data change listeners when an instance of the app is created.

There are two problems with this,

1. These synchronous calls block config subsystem progress
2. Sometimes these synchronous calls will timeout too early because the data change listeners are being run against a Shard which is recovering.

Making the registration async and increasing the timeout are actions that need to be taken.



 Comments   
Comment by Moiz Raja [ 11/Sep/14 ]

https://git.opendaylight.org/gerrit/#/c/10891/

Generated at Wed Feb 07 19:53:51 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.