Merge "Bug 6088 - Threads problem on gathering statistics"
authormichal rehak <mirehak@cisco.com>
Tue, 21 Jun 2016 09:15:59 +0000 (09:15 +0000)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 21 Jun 2016 09:15:59 +0000 (09:15 +0000)
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/services/MultipartRequestOnTheFlyCallback.java

index ee3c67bac0391d891b29df52a1b30e891252a22e..dcb445b11e03db4717fcc91d1ab4f5b865730695 100644 (file)
@@ -122,8 +122,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;
     }
 }