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

Calcite engine. Memory leak in MailboxRegistryImpl#remotes on JOINs

    XMLWordPrintableJSON

Details

    • SQL Calcite: Fixed memory leak in MailboxRegistryImpl#remotes
    • Release Notes Required

    Description

      When JOIN relational operator is executed, downstream of JOIN can be closed if only one side of JOIN is already drained (see last lines of MergeJoinNode.InnerJoin#join, for example). In this case query can be prematurely closed, and after this, message for another side of join can arrive and register new Inbox (see ExchangeServiceImpl#onMessage(UUID, QueryBatchMessage)), that never will be unregistered.

      Attachments

        Issue Links

          Activity

            People

              alex_pl Aleksey Plekhanov
              alex_pl Aleksey Plekhanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m