[CONTROLLER-1661] C: ddb remote listener: write-transactions failes when leader moved Created: 07/May/17  Updated: 25/Jul/23  Resolved: 08/May/17

Status: Resolved
Project: controller
Component/s: clustering
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Peter Gubka Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8394

 Description   

robot:
https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/665/archives/log.html.gz#s1-s54-t1-k2-k12-k1-k1-k1

logs:
https://logs.opendaylight.org/releng/jenkins092/controller-csit-3node-clustering-only-carbon/665/archives
2017-05-07 18:21:10,860 | INFO | h for user karaf | command | 266 - org.apache.karaf.log.command - 3.0.8 | ROBOT MESSAGE: Starting test Listener_On_Shard_Leader_Node

Transaction are produced from all 3 nodes.
Leader is moved by make-leader-local rpc.
write-transactions rpc fail on 2 nodes (http status 500), 1 node pass (status 200)

Failures caused by
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@10.29.12.160:2550/), Path(/user/shardmanager-config/member-1-shard-default-config)]] after [30000 ms]. Sender[null] sent message of type \"org.opendaylight.controller.cluster.datastore.messages.BatchedModifications\".]]}

\n\tat

which are the same as in CONTROLLER-1660



 Comments   
Comment by Tom Pantelis [ 08/May/17 ]

This is expected with ask-based protocol. This was the main reason for the new tell-based. I would suggest testing this scenario with tell-based only.

Generated at Wed Feb 07 19:56:07 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.