[CONTROLLER-1518] DataChangeListener is not notified of DS change occasionally Created: 18/May/16 Updated: 19/Oct/17 Resolved: 15/Jun/16 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | clustering |
| Affects Version/s: | 0.4.0 |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Hideyuki Tai | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 5913 |
| Description |
|
We have observed that DataChangeListener was not notified of data change occasionally. When the issue happened, we observed the following exception was caused during DS update. 2016-05-16 15:17:21,371 | ERROR | lt-dispatcher-32 | OneForOneStrategy | 184 - com.typesafe.akka.slf4j - 2.4.4 | This stopwatch is already running. Due to this issue, IT for VTN Manager on the master branch fails occasionally. https://jenkins.opendaylight.org/releng/view/vtn/job/vtn-verify-boron/138/ |
| Comments |
| Comment by Hideyuki Tai [ 18/May/16 ] |
|
We've investigated this issue. When VTN project used sal-inmemory-datastore as the backend of DS, VTN project has never faced this issue. However, after VTN project migrated it's IT into mdsal-it-base, the VTN IT uses the sal-distributed-datastore, and the issue has showed up. What happened when the IllegalStateException occurred? [opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/DefaultShardDataChangeListenerPublisher.java] 33 final class DefaultShardDataChangeListenerPublisher implements ShardDataChangeListenerPublisher, 38 private final Stopwatch timer = Stopwatch.createUnstarted(); (snip) 57 @Override finally { Here, we are talking about DefaultShardDataChangeListenerPublisher class so far. |
| Comment by Hideyuki Tai [ 12/Jun/16 ] |
|
IT for VTN Manager on the master branch still failed on 06/11/2016 due to the |
| Comment by Tom Pantelis [ 14/Jun/16 ] |
| Comment by Tom Pantelis [ 15/Jun/16 ] |