Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-3028

Memory leaks inside wsrep_st

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: On Hold
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 8.0.18-internal
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      There are memory leaks originating from within the galera library. Either the library itself leaks memory,or we are using it incorrectly.

      I do not have full callstacks yet, as my earlier valgrind run didn't resolve symbols in the galera so.

      Leak is reproducible for example from galera.galera_ftwrl_drain, where wsrep_provider_v26::options and wsrep_provider_v26::desync leaks memory.

      This leak is happening within a mysql_execute_command call, it can potentially cause unbounded memory usage.

      Similar memory leaks are also visible in the sst_donor_thread, which could be a related issue.

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              zsolt.parragi Zsolt Parragi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1 day, 30 minutes
                  1d 30m