mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-23 05:11:04 +02:00
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