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

Loading MyRocks plugin back after it has been unloaded causes a crash

    XMLWordPrintable

Details

    Description

      Running the following sequence of commands

      INSTALL SONAME 'ha_rocksdb';
      UNINSTALL SONAME 'ha_rocksdb';
      INSTALL SONAME 'ha_rocksdb';
      

      causes an assertion failure:

      mysqld: /home/psergey/dev-git/10.2-r5-debug/storage/rocksdb/rdb_threads.cc:46: 
      void myrocks::Rdb_thread::init(PSI_mutex_key, PSI_cond_key): Assertion `!m_run_once' failed.
      

      Looking at the code there, indeed MyRocks code did not intend to allow the plugin to be started after it was stopped.

      Attachments

        Issue Links

          Activity

            People

              psergei Sergei Petrunia
              psergei Sergei Petrunia
              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 - 0d
                  0d
                  Logged:
                  Time Spent - 0.75d
                  0.75d

                  Git Integration

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