If controller joins the cluster late, and the owner of the device
authorAnil Vishnoi <vishnoianil@gmail.com>
Tue, 6 Oct 2015 20:41:25 +0000 (02:11 +0530)
committerAnil Vishnoi <vishnoianil@gmail.com>
Tue, 6 Oct 2015 21:01:10 +0000 (21:01 +0000)
commit8148931d033fa04153fa67c6f1ebeb820c0c8c3e
tree5f82457ba786019153ff4d90964eecd43aaac958
parent6f7334ac44799512faf8f4951b78c559aaf78ac4
If controller joins the cluster late, and the owner of the device
is already decided, EntityOwnershipService won't notify new candidate that register
for ownership. Adding a proactive check on the ownership state of the device,
so if it's already owned, adding the connection instances in the connection cache.

Change-Id: I7e87b55599f0ebd408814d72789c86f231b7907c
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>