Bug 7864: Specified Id key does not exist in id pool vpnservices 16/53116/6
authoreswanit <swati.udhavrao.niture@ericsson.com>
Fri, 10 Mar 2017 04:04:04 +0000 (09:34 +0530)
committereswanit <swati.udhavrao.niture@ericsson.com>
Thu, 16 Mar 2017 11:11:25 +0000 (16:41 +0530)
commit14ecd62239cb6a7a750a0a5884af9558d576b837
tree4dcd3887c5575b1ecdd124baa88ea4b945e19813
parent837f18f1b6abda706fbd83392b7d9772f89bdcd0
Bug 7864: Specified Id key does not exist in id pool vpnservices

Id entry was not getting updated after allocation. This is fixed by
increasing latch wait time.

If the releaseId is called twice, then IdManagerException was thrown
since Id was not present. This is fixed by ignoring throwing an exception
if Id doesn't exist when releaseId is called the second time.

Change-Id: I8d8da8963f4509c9771795630662596ad2c528f9
Signed-off-by: eswanit <swati.udhavrao.niture@ericsson.com>
idmanager/idmanager-impl/src/main/java/org/opendaylight/genius/idmanager/IdManager.java
idmanager/idmanager-impl/src/main/java/org/opendaylight/genius/idmanager/jobs/UpdateIdEntryJob.java