Uploaded image for project: 'Pentaho Analysis - Mondrian'
  1. Pentaho Analysis - Mondrian
  2. MONDRIAN-1217

Statement.cancel() during fact query leads to permanent segment lock

    XMLWordPrintable

    Details

    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      We see a reproducible catastrophic issue with Mondrian's cache behavior. When an MDX statement is cancelled during a segment fetch, those segments are not properly marked as failed. Any future attempt to run a query that overlaps those segments will wait forever for that segment to complete.

      We believe this happens because the execution gets the exception and calls end(), which calls statements.clear() before the RolapResultShepherd has made a pass through to clean up the cancelled executions.

      Success Criteria:
      Research Spike - need to be able to reproduce.

        PractiTest Integration




          Attachments

          1. Mondrian1217.java
            52 kB
            Brandon Bruce
          2. threadDump.txt
            43 kB
            Kurtis Walker
          3. threadDump2.txt
            237 kB
            Kurtis Walker

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                gerweck Sarah Gerweck
                Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: