Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-16354

Calcite engine. Memory leak in RelOptCluster during mapping

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      The static instance of RelOptCluster accumulates data in the cache (BaseQueryContext.CLUSTER.mq.map) and never clear it. We should attach the new cluster query fragments during each mapping and detach it before storing the query plan in the query plan cache.

      Attachments

        Issue Links

          Activity

            People

              alex_pl Aleksey Plekhanov
              alex_pl Aleksey Plekhanov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h