1. 02 Aug, 2021 1 commit
  2. 01 Aug, 2021 1 commit
    • Sergei Golubchik's avatar
      suppress galera error "Failed to report last committed" · ec8882b9
      Sergei Golubchik authored
      according to MDEV-17550 it's informational, not fatal.
      "last committed" is part of the certification index purge process.
      
      depending on what tests and in what order are run it can be triggered
      at unspecified times during the testing. If the test is happen to
      shut down the server at this very time, the log will have:
      
      [Warning] WSREP: Failed to report last committed XXXYYYZZZ, -77 (File descriptor in bad state)
      ec8882b9
  3. 31 Jul, 2021 2 commits
  4. 30 Jul, 2021 5 commits
  5. 29 Jul, 2021 9 commits
    • Oleksandr Byelkin's avatar
    • Marko Mäkelä's avatar
      MDEV-19445/MDEV-16678 fixup: Acquire proper MDL on innodb_ft_aux_table · 0aa2bc7a
      Marko Mäkelä authored
      In commit 2647fd10 (MDEV-19445)
      we fixed a race condition around the INFORMATION_SCHEMA tables
      that access the table identified by the global variable
      innodb_ft_aux_table. Thanks to MDEV-16678 we could fix it
      even better by using MDL instead of the InnoDB dict_sys latches.
      0aa2bc7a
    • Marko Mäkelä's avatar
      MDEV-21175 follow-up: Remove redundant locking; rely on MDL · e305493b
      Marko Mäkelä authored
      Before entering DML or DDL execution in the storage engine, the SQL layer
      will have acquired metadata lock (MDL) on the current table name as well
      as the names of FOREIGN KEY (grand)child tables (that is,
      tables whose REFERENCES clauses point to the current table).
      The MDL prevents any metadata changes to these tables, such as
      RENAME, TRUNCATE, DROP, ALTER.
      
      While the MDL on the current table prevents dict_table_t::foreign_set
      from being modified, it does not prevent the table metadata that the
      stored pointers are pointing to from being modified.
      
      The MDL on the child tables will prevent both dict_table_t::referenced_set
      as well as the pointed child table metadata from being modified.
      
      wsrep_row_upd_index_is_foreign(): Do not unnecessarily acquire the
      data dictionary latch if Galera replication is not enabled.
      
      ha_innobase::can_switch_engines(): Rely on MDL. We are not dereferencing
      any pointers stored in the sets.
      
      row_mysql_freeze_data_dictionary(), row_mysql_unfreeze_data_dictionary():
      Remove.
      
      row_update_for_mysql(): Call init_fts_doc_id_for_ref() only once.
      
      In ALTER TABLE...IMPORT TABLESPACE and FLUSH TABLES...FOR EXPORT
      the SQL layer is protecting the current table with MDL. We do not
      need InnoDB latches.
      e305493b
    • Marko Mäkelä's avatar
      MDEV-23484 Rollback unnecessarily acquires dict_sys.latch · 86a14289
      Marko Mäkelä authored
      row_undo(): Remove the unnecessary acquisition and release of
      dict_sys.latch. This was supposed to prevent the table from being
      dropped while the undo log record is being rolled back. But, thanks to
      trx_resurrect_table_locks() that was introduced in
      mysql/mysql-server@935ba09d52c1908bde273ad1940b5ab919d9763d
      and commit c291ddfd
      as well as commit 1bd681c8
      (MDEV-25506 part 3) tables will be protected against dropping
      due to table locks.
      
      This reverts commit 0049d5b5
      (which had reverted a previous attempt of fixing this) and addresses
      an earlier race condition with the following:
      
      prepare_inplace_alter_table_dict(): If recovered transactions hold
      locks on the table while we are executing online ADD INDEX, acquire
      a table lock so that the rollback of those recovered transactions will
      not interfere with the ADD INDEX.
      86a14289
    • Marko Mäkelä's avatar
      Cleanup: Remove pars_stored_procedure_call() · 15363a4f
      Marko Mäkelä authored
      The InnoDB internal SQL parser never supported this syntax.
      15363a4f
    • Marko Mäkelä's avatar
      MDEV-25506 fixup: Correct a bogus comment · 92046ba2
      Marko Mäkelä authored
      Since commit 1bd681c8 tablespaces are
      dropped after the table has been dropped. No dict_sys latch protection
      is relevant during the execution of fil_delete_tablespace().
      92046ba2
    • Marko Mäkelä's avatar
      Cleanup: Remove a workaround · 72764b2f
      Marko Mäkelä authored
      Since commit 1bd681c8
      dict_stats_exec_sql() is no longer playing dirty tricks.
      We can remove the workaround in lock_release().
      72764b2f
    • Marko Mäkelä's avatar
      MDEV-26274 fts_lock_table() attempts to release unreserved dict_sys.mutex · e8ba6426
      Marko Mäkelä authored
      fts_lock_table(): Fix a regression that was introduced in
      commit da65cb4d (MDEV-25936).
      e8ba6426
    • Oleksandr Byelkin's avatar
      Merge branch '10.2' into 10.3 · 83d7e4fa
      Oleksandr Byelkin authored
      83d7e4fa
  6. 28 Jul, 2021 11 commits
  7. 27 Jul, 2021 11 commits