[GENIUS-49] Idmanager returns the same Id from the same pool for different threads with different id keys Created: 09/Jan/17  Updated: 14/Jan/17  Resolved: 14/Jan/17

Status: Resolved
Project: genius
Component/s: General
Affects Version/s: (unspecified)
Fix Version/s: None

Type: Bug
Reporter: Kiran N Upadhyaya Assignee: Kiran N Upadhyaya
Resolution: Done 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: 7494

 Description   

Problem with concurrency in IdManager, such that two threads requesting Id at the same time with different keys might end up getting the same key. This is because of unsafe read of a local Id Pool within the JVM.



 Comments   
Comment by Koby Aizer [ 11/Jan/17 ]

Review: https://git.opendaylight.org/gerrit/#/c/50126/

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