On Tue, Aug 1, 2017 at 5:30 AM, Kency Kurian <kency.kur...@ericsson.com>
wrote:

> Hi all,
>
>
>
> In one of our use case we are submitting a transaction in the DS and doing
> a get() on the future object returned by the transaction submit() method.
>
>
>
> We were getting the below exception message:
>
> *TransactionCommitFailedException**{message=canCommit encountered an
> unexpected failure, errorList=[RpcError [message=canCommit encountered an
> unexpected failure, severity=ERROR, errorType=APPLICATION,
> tag=operation-failed, applicationTag=null, info=null,
> cause=akka.pattern.AskTimeoutException: Ask timed out on
> [ActorSelection[Anchor(akka.tcp://opendaylight-cluster-data@192.168.123.3:2550/
> <http://opendaylight-cluster-data@192.168.123.3:2550/>),
> Path(/user/shardmanager-operational/192.168.123.3-shard-default-operational/shard-192.168.123.4:datastore-operational@1:790#1851512584)]]
> after [30000 ms]. Sender[null] sent message of type
> "org.opendaylight.controller.cluster.datastore.messages.BatchedModifications".]]}*
>
>
>
> Does this mean that
>
>    1. The DS operation will definitely fail
>
> OR
>
>    1. Is it possible that the DS operation can eventually be successful
>
>
>

It might eventually succeed. AskTimeoutEx usually means the shard didn't
get consensus within 30 sec or it's backed up processing previous
transactions.


> Regards,
>
> Kency
>
>
>
> _______________________________________________
> controller-dev mailing list
> controller-dev@lists.opendaylight.org
> https://lists.opendaylight.org/mailman/listinfo/controller-dev
>
>
_______________________________________________
controller-dev mailing list
controller-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/controller-dev

Reply via email to