Bug fixes/improvements:
1. DeviceManager must not have a dependency on DeviceClockService. Clocks and Timestamps are purely distribution concerns. 2. Eliminated DeviceClockProviderService which merely served as a cache for mastership terms thereby introducing a source of staleness. Now we directly query mastership service which is already optimized for high volume reads. 3. DistributedLeadershipManager fix to ensure election won by local node immediately reflects in the local leaderboard. This is to ensure a subsequent read does not return a stale value. Change-Id: I774b64923e382b788df5f8bde2a9fafc0294bad0
Showing
11 changed files
with
138 additions
and
198 deletions
core/api/src/main/java/org/onosproject/net/device/DeviceClockProviderService.java
deleted
100644 → 0
core/common/src/test/java/org/onosproject/store/trivial/NoOpClockProviderService.java
deleted
100644 → 0
-
Please register or login to post a comment