Bug 7840: Remove version in BucketStoreActor#removeBucket() 60/52260/2
authorVratko Polak <vrpolak@cisco.com>
Fri, 24 Feb 2017 18:21:20 +0000 (19:21 +0100)
committerVratko Polak <vrpolak@cisco.com>
Fri, 24 Feb 2017 18:21:20 +0000 (19:21 +0100)
Change-Id: Ic5d2c04260a0a53e72d9569eee18c1fba50c367b
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
opendaylight/md-sal/sal-remoterpc-connector/src/main/java/org/opendaylight/controller/remote/rpc/registry/gossip/BucketStoreActor.java

index 6fbe6ce..f627138 100644 (file)
@@ -285,6 +285,7 @@ public abstract class BucketStoreActor<T extends BucketData<T>> extends
             bucket.getWatchActor().ifPresent(ref -> removeWatch(addr, ref));
             onBucketRemoved(addr, bucket);
         }
+        versions.remove(addr);
     }
 
     /**

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.