[L2SWITCH-8] hosttracker maintains state in memory (map) which would not work in clustered env Created: 08/Sep/14  Updated: 24/Sep/14  Resolved: 24/Sep/14

Status: Resolved
Project: l2switch
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Amit Mandke Assignee: André Martins
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


External issue ID: 1754

 Description   

hosttracker maintains state in memory (map) which would not work in clustered environment.

In following class
org.opendaylight.l2switch.hosttracker.plugin.internal.HostTrackerImpl

it maintains:
private ConcurrentHashMap<HostId, Host> hosts;

current implementation may not work as desired in clustered env with l2switch deployed on multiple nodes(controller instances).



 Comments   
Comment by Colin Dixon [ 16/Sep/14 ]

André is working on a patch here:
https://git.opendaylight.org/gerrit/#/c/11177/

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