1. 08 Mar, 2020 4 commits
  2. 06 Mar, 2020 4 commits
  3. 05 Mar, 2020 3 commits
  4. 02 Mar, 2020 1 commit
    • Vladislav Vaintroub's avatar
      MDEV-21857 - Fix sporadic failure of mdev375 · f0d2542a
      Vladislav Vaintroub authored
      status threads_connected can temporarily be bigger than max_connections+1
      
      If SHOW STATUS LIKE "Threads_connected" comes after
      ER_CON_COUNT_ERROR is sent to the client, but before the counter is
      decremented, Threads_connected can differ from the expected value.
      f0d2542a
  5. 28 Feb, 2020 1 commit
  6. 26 Feb, 2020 2 commits
  7. 25 Feb, 2020 6 commits
    • Alexey Bychko's avatar
      MENT-645 Undefined symbols for architecture x86_64: _pam_syslog · 42b29d41
      Alexey Bychko authored
      added cmake checks for pam_ext.h and pam_appl.h headers
      added check for pam_syslog()
      added pam_syslog() if doesn't exist
      all cmake checks performed from inside the plugin
      42b29d41
    • Sergei Petrunia's avatar
      Better comments · a662cb9b
      Sergei Petrunia authored
      a662cb9b
    • Igor Babaev's avatar
      MDEV-21554 Crash in JOIN_CACHE_BKAH::skip_index_tuple when mrr=on and · cfa0506f
      Igor Babaev authored
                 join_cache_level=6+
      
      The patch fixes two similar bugs in the commit 8eeb689e
      that added multi_range_read support to partitions. The commit opened
      a possibility to join a partition table using BKA+MRR. However in some
      cases it could lead to wrong results or even crashes.
      
      This could happened when
      - index condition pushdown was used to join the table or
      - the joined table was an inner table of an outer join and 'not exist'
        optimization was applied or
      - the join table was the inner table of a semi-join and the first match
        optimization was applied
      
      The bugs were in the code of the call-back functions
      - partition_multi_range_key_skip_record() and
      - partition_multi_range_key_skip_index_tuple().
      Each of this function consist only of an invocation of another function.
      Yet a wrong parameter was passed at this invocation.
      
      The fix was suggested by Sergey Petrunia and it is apparently in line
      with original design.
      The corresponding comprehensive test cases demonstrating the problems
      caused by the bugs were constructed by me.
      cfa0506f
    • Daniel Black's avatar
      MDEV-16662: cmake remove empty INSTALL_DEBUG_TARGET · f6b9a298
      Daniel Black authored
      No adverse effects since this was made a null function in
      6b53f9d7.
      
      This function had the last remaining cmake CMP0026 violation.
      f6b9a298
    • Daniel Black's avatar
      MDEV-16662: cmake: CMP0026 compatible for dtrace · c749eb2b
      Daniel Black authored
      cmake enabling -DENABLE_DTRACE=ON is particularlly noisy with CMP0026
      errors.
      
      Fixed in the same way as 6b53f9d7
      c749eb2b
    • Daniel Black's avatar
  8. 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
  9. 22 Feb, 2020 1 commit
    • Anel Husakovic's avatar
      MDEV-21374: When "--help --verbose" prints out configuration file paths, the... · b9689712
      Anel Husakovic authored
      MDEV-21374: When "--help --verbose" prints out configuration file paths, the --defaults-file option is not considered
      
      * `--defaults-file` option is showed only in `--help --verbose` if
      applied
      * `--default-extra-file` is showing correctly now in `--help --verbose`,
      previously it was treated as a directory with appended `my.cnf`
      b9689712
  10. 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
  11. 19 Feb, 2020 1 commit
    • Sergei Petrunia's avatar
      MDEV-21628: Index condition pushdown condition ... not used with BKA · affe7fab
      Sergei Petrunia authored
      (Backport to 10.3)
      Partitioning storage now supports MRR but doesn't support Index Condition
      Pushdown (aka ICP). This causes counter-intuitive query plans for queries
      that use BKA and conditions that depend on index fields:
      - If the condition refers to other tables, BKA's variant of ICP is used
         to handle it.
      - If the condition depends on this table only, the optimizer will try to
        use regular ICP for it, which will fail because the storage engine
        doesn't support ICP.
      
      Make the optimizer be smarter in the second case: if we were not able to
      use regular ICP, use BKA's variant of ICP..
      affe7fab
  12. 17 Feb, 2020 1 commit
  13. 14 Feb, 2020 1 commit
  14. 13 Feb, 2020 4 commits
    • Otto Kekäläinen's avatar
      Deb: Run 'wrap-and-sort -a' so comparison across releases is easier · 85d4a45d
      Otto Kekäläinen authored
      No functional changes.
      
      Apply this in 10.3 so eventually it is merged to 10.4 and 10.5, which
      in turn will have separate wrap-and-sort runs but only for new lines,
      and not affecting badly next merges from 10.3 to 10.4 to 10.5.
      
      Also remove a duplicate line that was found thanks to wrap-and-sort.
      85d4a45d
    • Otto Kekäläinen's avatar
      Deb: Remove unnecessary manual libzstd1 dependency from RocksDB plugin · 1f0e72f8
      Otto Kekäläinen authored
      The Debian build tools add all run-time dependencies automatically. For the
      mariadb-rocksdb-plugin the "${misc:Depends}, ${shlibs:Depends}" will become
      (based on the build dependencies at build time):
      
        Depends: mariadb-server-10.4 (= 1:10.4.12-1), rocksdb-tools,
        libc6 (>= 2.29), liblz4-1 (>= 0.0~r130), libsnappy1v5 (>= 1.1.8),
        libstdc++6 (>= 7), libzstd1 (>= 1.3.3), zlib1g (>= 1:1.1.4)
      
      There is no need to manually add run-time build dependencies. Only external
      dependencies need to be defined, for example rocksdb-tools could come in
      question for mariadb-plugin-rocksdb, and it will be eventually added when
      downstream official Debian packaging is merged upstream in a later commit.
      1f0e72f8
    • Jan Lindström's avatar
      MDEV-21515 : Galera test sporadic failure on galera.galera_wsrep_new_cluster:... · ed10a8cd
      Jan Lindström authored
      MDEV-21515 : Galera test sporadic failure on galera.galera_wsrep_new_cluster: Result content mismatch
      
      Use correct configuration and wait for nodes to reach correct state
      with wait conditions.
      ed10a8cd
    • Jan Lindström's avatar
      MDEV-21421 : Galera test sporadic failure on... · 6c1e0c04
      Jan Lindström authored
      MDEV-21421 : Galera test sporadic failure on galera.galera_as_slave_gtid_myisam: Result length mismatch
      
          In Galera 3 nodes 2 and 3 are galera nodes and node_1 should be
          non galera.
      6c1e0c04
  15. 12 Feb, 2020 2 commits
  16. 10 Feb, 2020 5 commits