[ALTO-16] Simple ECS cannot accept parallel queries Created: 09/Jul/17 Updated: 14/Jan/18 |
|
| Status: | Confirmed |
| Project: | alto |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jingxuan Zhang | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 8826 |
| Priority: | Normal |
| Description |
|
The `simple-ecs` module is using a singleton EndpoingcostserviceProvider object to support ECS query and maintain the query state. See `alto-basic/simple-ecs/impl/src/main/java/org/opendaylight/alto/basic/endpointcostservice/impl/EndpoingcostserviceProvider.java:90`. It should be fixed by initiating a new state object maintenance object for each query. |