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

https://git.opendaylight.org/gerrit/#/c/9012/

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