Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2614

Queries that use sort may end up in infinite loop

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 5.2.0.Final
    • 5.1.0.Final
    • Query
    • None

      When result rows to queries such as

      SELECT .. WHERE [ns:property1] = 'A' AND [ns:property2] = 'B' ORDER  BY ['ns:property3']
      

      are filtered in query SELECT phase so that the first returned batch is empty, BufferedSequence.loadAll() returns batch size zero, which causes an infinite loop in SortingSequence that now tries to fetch result rows in empty batches.

            hchiorean Horia Chiorean (Inactive)
            tsallinen_jira Timo Sallinen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: