Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-20322

rocksdb doesn't free memory on shutdown

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.5
    • Fix Version/s: 10.5
    • Labels:
      None
    • Environment:
      BUILD/compile-pentium64-valgrind-max

      Description

      When running tests with valgrind, one gets a lot of warnings about not freed memory.
      The solution by Facebook is to add suppression, but that is likely to hide bugs and doesn't work with all memory checking tools, so we should not use this approach but instead try to fix this properly by freeing all memory at plugin unload or at least during shutdown.

      I am adding temporary valgrind suppression for all the issues in 10.5 until this is fixed to be able to run valgrind on the full test suite.

      Example:

      mtr --valgrind mariabackup.xb_rocksdb

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              psergey Sergei Petrunia
              Reporter:
              monty Michael Widenius
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: