Bug 6088 - Threads problem on gathering statistics 36/40536/1
authorJozef Bacigal <jbacigal@cisco.com>
Mon, 20 Jun 2016 08:41:05 +0000 (10:41 +0200)
committerJozef Bacigal <jbacigal@cisco.com>
Mon, 20 Jun 2016 08:41:49 +0000 (10:41 +0200)
Change-Id: I5490f737bda540e6af238c4d4d9bf2a6f4306aae
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/MultipartRequestOnTheFlyCallback.java

index c00d092f96273335af1233e70141f3213a3a2ce5..625a1eff39d4537080956859964bcab0d170aefa 100644 (file)
@@ -123,8 +123,8 @@ final class MultipartRequestOnTheFlyCallback extends AbstractRequestCallback<Lis
         EventsTimeCounter.markEnd(getEventIdentifier());
         final RpcResult<List<MultipartReply>> rpcResult = RpcResultBuilder.success(Collections.<MultipartReply>emptyList()).build();
         spyMessage(MessageSpy.STATISTIC_GROUP.FROM_SWITCH_TRANSLATE_OUT_SUCCESS);
-        setResult(rpcResult);
         txFacade.submitTransaction();
+        setResult(rpcResult);
         finished = true;
     }
 }