1. 25 Feb, 2020 1 commit
  2. 23 Feb, 2020 1 commit
    • seppo's avatar
      MDEV-21723 Async slave thread BF abort and replaying fixes (#1448) · 4618c974
      seppo authored
      If async replication slave thread conflicts with cluster replication,
      then the async slave transaction should be BF aborted, and depending on the
      state of async slave transaction execution, potentially also replayed.
      There were problems in such BF abort implementation and the replaying was not
      started.
      This pull request contains fixes which make sure that if async slave thread is
      marked to abort and replay, it will complete carry out the rollback and
      release all locks and resources before starting the replaying. After replaying,
      async slave transactions is treated as successful, so the slave thread will
      continue as usual, handling next replication event.
      
      There is also new mtr test: galera.galera_slave_replay, which stresses both a
      certification failure for async slave thread and a successful BF abort
      followed by replaying.
      4618c974
  3. 20 Feb, 2020 3 commits
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-21563 FTS thread aborts during shutdown · 3ce49a0a
      Thirunarayanan Balathandayuthapani authored
      - Add warning suppression in misc_debug2 test.
      3ce49a0a
    • Anel Husakovic's avatar
      Clean wrong cherry-pick from previous commit · 0d1dd2e7
      Anel Husakovic authored
      - Delete variable HAVE_PTHREAD_CONDATTR_SETCLOCK and check
      - Delete second HAVE_PTHREAD_KEY_DELETE
      0d1dd2e7
    • Daniel Black's avatar
      my_getncpus based on threads available · fb01cc37
      Daniel Black authored
      Detecting the cpus based on sysconf of the online CPUs can significantly
      over estimate the number of cpus available.
      
      Wheither via numactl, cgroups, taskset, systemd constraints, docker
      containers and probably other mechanisms, the number of threads mysqld
      can be run on can be quite less.
      
      As such we use the pthread_getaffinity_np function on Linux and FreeBSD
      (identical API) to get the number of CPUs.
      
      The number of CPUs is the default for the thread_pool_size and a too
      high default will resulting in large memory usage and high context
      switching overhead.
      
      Closes PR #922
      fb01cc37
  4. 17 Feb, 2020 1 commit
  5. 14 Feb, 2020 1 commit
  6. 13 Feb, 2020 2 commits
  7. 12 Feb, 2020 1 commit
  8. 10 Feb, 2020 5 commits
  9. 09 Feb, 2020 2 commits
  10. 08 Feb, 2020 1 commit
    • Marko Mäkelä's avatar
      Remove unused SRV_MASTER_PURGE_INTERVAL · e568dc97
      Marko Mäkelä authored
      The symbol SRV_MASTER_PURGE_INTERVAL became unused in
      mysql/mysql-server@42f36919584e82c621dbec1e69fd05ab023c54c6
      when separate purge threads were introduced in MySQL 5.6.5.
      e568dc97
  11. 07 Feb, 2020 4 commits
  12. 06 Feb, 2020 3 commits
  13. 05 Feb, 2020 1 commit
  14. 03 Feb, 2020 2 commits
    • Marko Mäkelä's avatar
      Cleanup: Remove mem_block_t::magic_n and mem_block_validate() · a9d13248
      Marko Mäkelä authored
      Use of freed memory is better caught by AddressSanitizer,
      especially with ASAN_POISON_MEMORY_REGION that is aliased
      by MEM_NOACCESS and UNIV_MEM_FREE.
      a9d13248
    • Marko Mäkelä's avatar
      MDEV-21636 information_schema.innodb_mutexes.name column is not populated · 37b9734c
      Marko Mäkelä authored
      The column INFORMATION_SCHEMA.INNODB_MUTEXES.NAME is not populated ever since
      commit 2e814d47 applied the InnoDB changes from
      MySQL 5.7.9 to MariaDB Server 10.2.2.
      
      Since the same commit, the view is only providing information about
      rw_lock_t, not any mutexes.
      
      For now, let us convert the source code file name and line number of
      the rw_lock_t creation into a name. A better option in the future might
      be to store the information somewhere where it can be looked up by
      mysql_pfs_key_t, and possibly to remove the CREATE_FILE and CREATE_LINE
      columns.
      37b9734c
  15. 31 Jan, 2020 4 commits
  16. 30 Jan, 2020 2 commits
  17. 29 Jan, 2020 2 commits
    • Anel Husakovic's avatar
      Clean the comment for `table_f_c unt` parameter · 4932ec87
      Anel Husakovic authored
      Deleted with commit: c70a9fa1
      4932ec87
    • Sujatha's avatar
      MDEV-20923:UBSAN: member access within address … which does not point to an... · d89bb886
      Sujatha authored
      MDEV-20923:UBSAN: member access within address … which does not point to an object of type 'xid_count_per_binlog'
      
      Problem:
      -------
      Accessing a member within 'xid_count_per_binlog' structure results in
      following error when 'UBSAN' is enabled.
      
      member access within address 0xXXX which does not point to an object of type
      'xid_count_per_binlog'
      
      Analysis:
      ---------
      The problem appears to be that no constructor for 'xid_count_per_binlog' is
      being called, and thus the vtable will not be initialized.
      
      Fix:
      ---
      Defined a parameterized constructor for 'xid_count_per_binlog' class.
      d89bb886
  18. 28 Jan, 2020 4 commits