[MDSAL-69] Datastore: transaction chain callbacks lost Created: 14/Feb/15  Updated: 09/Mar/18  Resolved: 19/Sep/17

Status: Resolved
Project: mdsal
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Jan Medved Assignee: Unassigned
Resolution: Cannot Reproduce 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: 2722

 Description   

When there is a large burst of write transactions executed on a transaction chain, the last couple of transactions do not seem to be properly handled:

a) after existing from the burst loop, the last 1-2 transactions do not get propagated into the data store, and the app callbacks (from transaction Futures) are not called.

b) after closing the transaction chain, data from the last 1-2 transaction appears in the data store, but the app callbacks are still not called.

The code to reproduce this behavior is in https://git.opendaylight.org/gerrit/#/c/14872/.

After building the dsbenchmark application according to Gerrit #14872, the behavior can be triggered by a REST POST call to: http://localhost:8181/restconf/operations/dsbenchmark:start-test,

with payload:

{
"input":

{ "operation": "PUT", "data-format": "BINDING-AWARE", "outerElements": 100000, "innerElements": 1, "putsPerTx": 1 }

}


Generated at Wed Feb 07 20:08:34 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.