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

Simultaneous loads of separate catalogs RolapSchema.Pool.get() are not handled in parallel

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Severity: Medium
    • Resolution: Unresolved
    • Affects Version/s: 3.0.5
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None
    • 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

      The static class Pool has synchronized .get methods to retrieve RolapSchemas. When running several threads concurrently the loading of schemas can become a bottleneck, since only one can be loaded at a time.

      From Julian's post to the dev forum:

      "The ideal behavior would be for user B to wait if it needs the same schema that A is currently loading. But if C comes along and wants a different schema, there should be a very short critical section where the system figures out that the schema does not exist and needs to be loaded."

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mkambol mkambol
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: