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

rocksdb doesn't free memory on shutdown

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.5, 10.2(EOL), 10.3(EOL), 10.4(EOL)
    • 10.5
    • None
    • 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

              psergei Sergei Petrunia
              monty Michael Widenius
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.