[CONTROLLER-1685] First read on a freshly created cds client always fails. Created: 17/May/17  Updated: 25/Jul/23  Resolved: 19/May/17

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

Type: Bug
Reporter: Tomas Cere Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File cdsclient-read-karaf.log    
Issue Links:
Blocks
blocks CONTROLLER-1683 unsubscribe-ddtl does not return when... Resolved
External issue ID: 8491

 Description   

We are trying to read from a SimpleDataStoreClient which points to a shard which has some data written in a previous step and the read seems to always fail with:

Caused by: org.opendaylight.controller.cluster.databroker.actors.dds.ProxyHistory$RequestReplayException: Failed to find proxy for ReadTransactionRequest

{target=member-1-datastore-Shard-id-ints!-fe-1-chn-1-txn-0-0, sequence=0, replyTo=Actor[akka://opendaylight-cluster-data/user/$o#-1387267143], path=/(tag:opendaylight.org,2017:controller:yang:lowlevel:target?revision=2017-02-15)id-ints/id-int}

Attached are DEBUG logs, although DEBUG is only turned on only for the step that tries to create the client and execute the read.



 Comments   
Comment by Tomas Cere [ 17/May/17 ]

Attachment cdsclient-read-karaf.log has been added with description: log

Comment by A H [ 17/May/17 ]

We are looking to build Carbon RC2 tomorrow 5/18 at 23:59 UTC time assuming there are no blocker bugs. Is there an ETA for when a fix can be merged and this bug resolved for stable/carbon branch?

Comment by Robert Varga [ 17/May/17 ]

Replay logs indicate that this was a quick txchain open + read + txchainclose. All of these messages have been processed, at which point we end up forwarding the request.

Let's enforce that rule: https://git.opendaylight.org/gerrit/57315

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