[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 |
||
| 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. |