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

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

                Dates

                • Created:
                  Updated:
                  Resolved: