1. 07 Feb, 2015 4 commits
    • Sergei Golubchik's avatar
      Merge branch 'bb-10.1-merge' into 10.1 · f1393906
      Sergei Golubchik authored
      f1393906
    • Kristian Nielsen's avatar
      MDEV-6676: Optimistic parallel replication · 86723393
      Kristian Nielsen authored
      Adjust the configuration options, as discussed on the
      maria-developers@ mailing list.
      
      The option to hint a transaction to not be replicated in parallel is
      now called @@skip_parallel_replication, consistent with
      @@skip_replication.
      
      And the --slave-parallel-mode is now simplified to have just one of
      the following values:
      
        none
        minimal
        conservative
        optimistic
        aggressive
      
      This reflects successively harder efforts to find opportunities to run
      things in parallel on the slave. It allows to extend the server with
      more automatic heuristics in the future without having to introduce a
      new configuration option for each and every one.
      86723393
    • Kristian Nielsen's avatar
      Add error handling on realpath() call. · 734c4c01
      Kristian Nielsen authored
      (Without this, it happened for me that realpath() failed returning
      undef for the default vardir. This in turn caused mysql-test-run.pl to
      delete the source mysql-test/ directory.)
      734c4c01
    • Daniel Black's avatar
      MDEV-7201: parallel threads resizing - potential race condition to access freed memory · 2deaa292
      Daniel Black authored
      pool->threads is freed before being reassigned the new pool.
      
      Although not really a memory barrier I though it prudent to keep the pool
      thread count to be the lower of the old/new thread list before the new threads
      is allocated.
      2deaa292
  2. 06 Feb, 2015 5 commits
  3. 05 Feb, 2015 4 commits
    • Sergei Golubchik's avatar
      small cleanups · f9448bcb
      Sergei Golubchik authored
      f9448bcb
    • Sergey Vojtovich's avatar
      MDEV-7177 - Server hangs on shutdown after InnoDB error (main.plugin_loaderr · 32b0b643
      Sergey Vojtovich authored
                  fails in buildbot)
      
      There was a race condition in timer functionality of query timeouts.
      
      Race was as following:
      main thread:          init_thr_timers()
      timer handler thread: my_thread_init()
      main thread:          end_thr_timer()/timer_thread_state= ABORTING
      timer handler thread: timer_thread_state= RUNNING, continue normal op
      main thread:          waits indefinitely for timer handler thread to go down
      
      The original idea of the fix is to set RUNNING state in main thread, before
      starting timer handler thread. But it didn't survive further cleanups:
      - removed "timer_thread_state" and used "thr_timer_inited" for this purpose
      - removed unused "timer_thread_running"
      - removed code responisble for "timer handler thread" shutdown synchronization,
        use pthread_join() instead.
      32b0b643
    • Sergey Vojtovich's avatar
      MDEV-7499 - System variables have broken default values on big endian · 451e9b7a
      Sergey Vojtovich authored
      INFORMATION_SCHEMA.SYSTEM_VARIABLES.DEFAULT_VALUE had broken values on
      big endian.
      
      Default value is internally stored as longlong, while I_S references it's
      pointer (longlong *) according to variable type (e.g. int, my_bool, etc). This
      works well on little endian, but on big endian we always get 0 for such
      variables.
      451e9b7a
    • Jan Lindström's avatar
      MDEV-7178: wsrep* tests fail in buildbot · b08126aa
      Jan Lindström authored
      This is temporal test fixt to avoid concurrent IST for now until
      the actual issue https://github.com/codership/galera/issues/204
      is fixed.
      b08126aa
  4. 04 Feb, 2015 2 commits
  5. 03 Feb, 2015 2 commits
  6. 02 Feb, 2015 5 commits
  7. 01 Feb, 2015 5 commits
  8. 31 Jan, 2015 7 commits
  9. 30 Jan, 2015 2 commits
  10. 29 Jan, 2015 4 commits