[CONTROLLER-627] Race condition when resolving identities in config subsystem Created: 15/Jul/14 Updated: 25/Jul/23 Resolved: 16/Jul/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | mdsal |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Maros Marsalek | Assignee: | Tony Tkacik |
| 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: | 1366 |
| Description |
|
Config subsystem transforms identity QName to Class<?> object using LazyGeneratedCodecRegistry. This codec registry however receives schema context from MD-SAL last. Config subsystem may have necessary schema and permits the config pusher to push config snapshot, but the codec registry does not see necessary yang modules. In case of identities, the schema context is not necessary and the transformation can be performed without it. It just needs to get the name of the class from QName using utility code. |
| Comments |
| Comment by Tony Tkacik [ 15/Jul/14 ] |