[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 |
||
| 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 ] |