[CONTROLLER-819] Clustering : Commits from the journal should be batched to improve recovery time Created: 11/Sep/14  Updated: 20/Sep/14  Resolved: 20/Sep/14

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

Type: Bug
Reporter: Moiz Raja Assignee: Tom Pantelis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Mac OS
Platform: PC


Attachments: File flow_config_perf.py    
External issue ID: 1831
Priority: Normal

 Description   

To reproduce the problem, do the following,

1. Run a karaf distribution of the controller. OpenFlowPlugin should be just fine.
2. Install the feature odl-mdsal-clustering
3. Add 50,000 flows and remove 50,000 flows using the attached script.
/usr/local/bin/python flow_config_perf.py --nflows 500 --nthreads=10 --ncycles 10
4. Stop the controller
5. Start the controller
6. Once the controller "appears" started try accessing the inventory - note that it fails.
7. After about 5 minutes the inventory becomes accessible again.



 Comments   
Comment by Moiz Raja [ 11/Sep/14 ]

Attachment flow_config_perf.py has been added with description: add flows to config

Comment by Tom Pantelis [ 19/Sep/14 ]

Submitted https://git.opendaylight.org/gerrit/#/c/11136/.

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