[CONTROLLER-815] XSQL is hanging when the subset of data is empty Created: 11/Sep/14  Updated: 25/Jul/23  Resolved: 13/Sep/14

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: 1827

 Description   

When you perform an XSQL query on a module that does not contain operational data, the XSQL session hangs on the ResultSet.next method, waiting for the first records to arrive.



 Comments   
Comment by Sharon Aicler [ 13/Sep/14 ]

the root cause was that the ResultSet.next method was waiting for data or for the "finish" to be set to true. When there is an empty set it used to wait forever.
Te solution was to set the finish=true flag when the set of data is empty.

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