Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-4265

TDB-114 (Change use of MySQL HASH to unordered_map) introduces memory leak

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.7.21-21, 5.6.40-84.0
    • Fix Version/s: 5.7.21-21, 5.6.40-84.0
    • Component/s: TokuDB
    • Labels:

      Description

      Previously, in drop_share, removing a share from the HASH called the share->destroy method which cleaned up. When converted to std::unordered_map, the share must be explicitly destroyed on removal.

      This looks limited to a DROP TABLE or ALTER TABLE ... RENAME as they are the only known pathc through TOKUDB_SHARE :: drop_share

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              george.lorch George Lorch
              Reporter:
              george.lorch George Lorch
              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 - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 49 minutes
                  1h 49m

                    Smart Checklist