[CONTROLLER-1082] XSQL query is stuck when the yang model contains two data roots Created: 05/Jan/15  Updated: 25/Jul/23  Resolved: 08/Jan/15

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Sharon Aicler Assignee: Sharon Aicler
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: 2554

 Description   

XSQL query is stuck when the yang model contains two data roots. the method to collect the root elements for a yang model in XSQL was wrong and was assuming there is one data model root type, hence was getting stuck when querying data for that module. E.g. if you have two containers defined in your yang file, xsql was getting stuck with a NullPointerException is the log as the blue print node was not a parent in the queried leaf path.


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