1. 02 Jun, 2015 1 commit
  2. 27 May, 2015 1 commit
  3. 26 May, 2015 1 commit
    • Alexey Kopytov's avatar
      Fixes MDEV-7658: MDEV-7026 fix reintroduces MDEV-6615 on AArch64 · 70bc0a3e
      Alexey Kopytov authored
      This is an addendum to the fix for MDEV-7026. The ARM memory model is
      similar to that of PowerPC and thus needs the same semantics with
      respect to memory barriers. That is, os_atomic_test_and_set_*_release()
      must be a store with a release barrier followed by a full
      barrier. Unlike x86 using __sync_lock_test_and_set() which is
      implemented as “exclusive load with acquire barriers + exclusive store”
      is insufficient in contexts where os_atomic_test_and_set_*_release()
      macros are used.
      70bc0a3e
  4. 16 May, 2015 1 commit
  5. 12 May, 2015 1 commit
    • Nirbhay Choubey's avatar
      Fix for debug build failure · 6f8558bb
      Nirbhay Choubey authored
      Do not use format function attribute for sql_print_xxx() family of
      functions as they use a MariaDB-specific extension of printf instead
      of one provided by the system.
      6f8558bb
  6. 08 May, 2015 3 commits
  7. 07 May, 2015 2 commits
  8. 06 May, 2015 1 commit
  9. 29 Apr, 2015 4 commits
  10. 28 Apr, 2015 8 commits
  11. 27 Apr, 2015 15 commits
  12. 26 Apr, 2015 1 commit
    • Sergei Golubchik's avatar
      MDEV-7126 replication slave - deadlock in terminate_slave_thread with stop... · f8320210
      Sergei Golubchik authored
      MDEV-7126 replication slave - deadlock in terminate_slave_thread with stop slave and show variables of replication filters and show global status
      
      Three-way deadlock:
      
        T1: SHOW GLOBAL STATUS
            -> acquire LOCK_status
        T2: STOP SLAVE
            -> acquire LOCK_active_mi
            -> terminate_slave_thread()
            -> -> cond_timedwait for handle_slave_sql to stop
        T3: sql slave thread (same applies to io thread)
            -> handle_slave_sql(), when exiting
            -> -> THD::add_status_to_global()
            -> -> -> wait for LOCK_status...
        T1: SHOW GLOBAL STATUS
            -> for "Slave_heartbeat_period" status variable
            -> -> show_heartbeat_period()
            -> -> -> wait for LOCK_active_mi
      
      cherry-pick from 5.6:
      
        commit fc8b395898f40387b3468122bd0dae31e29a6fde
        Author: Venkatesh Duggirala <venkatesh.duggirala@oracle.com>
        Date:   Wed Jun 12 21:41:05 2013 +0530
      
          BUG#16904035-SHOW STATUS - EXCESSIVE LOCKING ON LOCK_ACTIVE_MI AND
          ACTIVE_MI->RLI->DATA_LOCK
      
          Problem: Excessive locking on lock_active_mi and rli->data_lock
          while executing any `show status like 'X'` command.
      
          Analysis: SHOW_FUNCs for Slave_running, Slave_retried_transactions,
          Slave_heartbeat_period, Slave_received_heartbeats,
          Slave_last_heartbeat are acquiring lock_active_mi and rli->data_lock
          to show their variable value. It is ok to show stale data while showing
          the status variables i.e., even if they miss one update, it will
          not cause any great trouble.
      
          Fix: Remove the locks from the above mentioned SHOW_FUNC functions.
      
      Add a test case
      f8320210
  13. 25 Apr, 2015 1 commit