From: Anil Vishnoi Date: Wed, 17 Aug 2016 11:41:57 +0000 (-0700) Subject: Bug 6332 - Conflicting modification Exception for topology path X-Git-Tag: release/carbon~93 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=refs%2Fchanges%2F37%2F44137%2F1;p=ovsdb.git Bug 6332 - Conflicting modification Exception for topology path Change-Id: Id7e8403c666689042eb73066f6203bb8edec0b41 Signed-off-by: Anil Vishnoi --- diff --git a/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepSouthboundProvider.java b/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepSouthboundProvider.java index 480bb4624..60c12a104 100644 --- a/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepSouthboundProvider.java +++ b/hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepSouthboundProvider.java @@ -84,7 +84,6 @@ public class HwvtepSouthboundProvider implements AutoCloseable { //Register listener for entityOnwership changes providerOwnershipChangeListener = new HwvtepsbPluginInstanceEntityOwnershipListener(this,this.entityOwnershipService); - entityOwnershipService.registerListener(ENTITY_TYPE,providerOwnershipChangeListener); //register instance entity to get the ownership of the provider Entity instanceEntity = new Entity(ENTITY_TYPE, ENTITY_TYPE); diff --git a/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java b/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java index a37610993..9c3649921 100644 --- a/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java +++ b/southbound/southbound-impl/src/main/java/org/opendaylight/ovsdb/southbound/SouthboundProvider.java @@ -81,7 +81,6 @@ public class SouthboundProvider implements AutoCloseable { //Register listener for entityOnwership changes providerOwnershipChangeListener = new SouthboundPluginInstanceEntityOwnershipListener(this,this.entityOwnershipService); - entityOwnershipService.registerListener(ENTITY_TYPE,providerOwnershipChangeListener); //register instance entity to get the ownership of the provider Entity instanceEntity = new Entity(ENTITY_TYPE, ENTITY_TYPE);