[CONTROLLER-1039] Clustering : Concurrent operation exception from org.opendaylight.controller.sal-broker while adding PCCs Created: 21/Nov/14  Updated: 02/Dec/14  Resolved: 02/Dec/14

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: Post-Helium
Fix Version/s: None

Type: Bug
Reporter: RichardHill Assignee: Moiz Raja
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


Attachments: Zip Archive karaf.zip    
External issue ID: 2422

 Description   

I generated this error creating 40k LSPs between a single PCC and the artifact from
https://jenkins.opendaylight.org/integration/view/Integration%20jobs/job/integration-master-project-centralized-integration/2771/

deployed as a 3 node cluster on 10.25.2.9 , 10.25.2.10 , 10.25.2.11

  1. system:property shard.persistent ${PERSISTENCE}
    PERSISTENT="false"
  1. module-shards.conf,
    REPLICA="single"

This bug is similar to https://bugs.opendaylight.org/show_bug.cgi?id=2328 in that it is a race condition involving node creation but I’ll raise another bug as it has different stacktrace and was triggered in a different scenario.

org.opendaylight.controller.sal-broker-impl - 1.2.0.SNAPSHOT | Tx: DOM-19 Error during phase CAN_COMMIT, starting Abort
java.util.concurrent.ExecutionException: OptimisticLockFailedException

{message=Optimistic lock failed., errorList=[RpcError [message=Optimistic lock failed., severity=ERROR, errorType=APPLICATION, tag=resource-denied, applicationTag=null, info=null, cause=org.opendaylight.yangtools.yang.data.api.schema.tree.ConflictingModificationAppliedException: Node was created by other transaction.]]}

at java.util.concurrent.FutureTask.report(Unknown Source)[:1.7.0_60]
at java.util.concurrent.FutureTask.get(Unknown Source)[:1.7.0_60]
at



 Comments   
Comment by RichardHill [ 21/Nov/14 ]

Attachment karaf.zip has been added with description: karaf log

Comment by RichardHill [ 21/Nov/14 ]

I was not able to create the expected number of PCCs when this error occurred.

Comment by RichardHill [ 25/Nov/14 ]

pcc-mock

java -jar pcep-pcc-mock-0.3.2-SNAPSHOT-executable.jar --log-level DE --local-address 10.25.2.12 --remote-address 10.25.2.9 --pcc 1 --lsp 100

Comment by Moiz Raja [ 02/Dec/14 ]

Hi Richard,

Could you please confirm if this is still an issue?

Comment by Moiz Raja [ 02/Dec/14 ]

Confirmed with Richard this is no longer a problem.

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