1. 28 Dec, 2014 3 commits
  2. 27 Dec, 2014 1 commit
  3. 26 Dec, 2014 3 commits
    • Sergey Vojtovich's avatar
      MDEV-7273 - 10.1 fails to start up during tc_log initializations on PPC64 · f65901ee
      Sergey Vojtovich authored
      log-tc-size is 24K by default. Page size is 64K on PPC64. But log-tc-size
      must be at least 3 x page size. This is enforced by TC_LOG_MMAP::open()
      with a comment: to guarantee non-empty pool.
      
      This all makes server not startable in default configuration on PPC64.
      
      Autosize log-tc-size, so that it's min value= page size * 3, default
      value= page size * 6, block size= page size.
      f65901ee
    • Sergey Vojtovich's avatar
      MDEV-7053 - WSREP_STATUS & WSREP_MEMBERSHIP I_S tables · 8c616cd3
      Sergey Vojtovich authored
      wsrep_status was renamed to wsrep_info. Adjusted deb build scripts accordingly.
      8c616cd3
    • Sergey Vojtovich's avatar
      MDEV-7364 - mysqld --help --verbose prints random values for "debug" · db89dd3a
      Sergey Vojtovich authored
      getopt value pointer of "debug" variable was pointing to incorrect address:
      &global_system_variables. Runtime statements like SHOW VARIABLES materialize
      value from DBUG structures on demand, so they never access getopt value pointer.
      But mysqld --help --verbose loaded this value from &global_system_variables.
      
      Remove "debug" variable from mysqld --help --verbose output by setting value
      pointer to NULL.
      db89dd3a
  4. 24 Dec, 2014 1 commit
  5. 23 Dec, 2014 3 commits
    • Nirbhay Choubey's avatar
      MDEV-7053 : WSREP_STATUS & WSREP_MEMBERSHIP I_S tables · 03e0f1f8
      Nirbhay Choubey authored
      Addendum : Renamed plugin .so file.
      03e0f1f8
    • Jonas Oreland's avatar
      MDEV-162 Enhanced semisync replication · 0b87de12
      Jonas Oreland authored
      Implement --semi-sync-master-wait-point=AFTER_SYNC|AFTER_COMMIT.
      
      When AFTER_SYNC, the semi-sync wait will be done earlier, before the storage
      engine commit rather than after. This means that a transaction will not be
      visible on the master until at least one slave has received it.
      0b87de12
    • Jonas Oreland's avatar
      MDEV-7257: Dump Thread Enhancements · 4d8b346e
      Jonas Oreland authored
      Make the binlog dump threads not need to take LOCK_log while sending
      binlog events to slave. Instead, a new LOCK_binlog_end_pos is used
      just to coordinate tracking the current end-of-log.
      
      This is a pre-requisite for MDEV-162, "Enhanced semisync
      replication". It should also help reduce the contention on LOCK_log on
      a busy master.
      
      Also does some much-needed refactoring/cleanup of the related code in
      the binlog dump thread.
      4d8b346e
  6. 16 Dec, 2014 1 commit
  7. 15 Dec, 2014 1 commit
  8. 12 Dec, 2014 2 commits
  9. 10 Dec, 2014 8 commits
  10. 08 Dec, 2014 1 commit
  11. 06 Dec, 2014 7 commits
  12. 05 Dec, 2014 9 commits
    • Sergei Petrunia's avatar
    • Sergei Petrunia's avatar
    • Sergey Vojtovich's avatar
      Fixed valgrind warnings in delete_dynamic(). · 8fb2c80f
      Sergey Vojtovich authored
      Join_plan_state performs out-of-API initialization of DYNAMIC_ARRAY. This is
      done to postpone actual array initialization till first use, whilst retaining
      the right to call delete_dynamic().
      
      Since delete_dynamic() now checks DYNAMIC_ARRAY::malloc_flags it should be
      initialized it as well.
      8fb2c80f
    • Monty's avatar
      my_alloc.c · 78564373
      Monty authored
      - Changed 0x%lx -> %p
      array.c:
      - Static (preallocated) buffer can now be anywhere
      my_sys.h
      - Define MY_INIT_BUFFER_USED
      sql_delete.cc & sql_lex.cc
      - Use memroot when allocating classes (avoids call to current_thd)
      sql_explain.h:
      - Use preallocated buffers
      sql_explain.cc:
      - Use preallocated buffers and memroot
      sql_select.cc:
      - Use multi_alloc_root() instead of many alloc_root()
      - Update calls to Explain
      78564373
    • Sergey Vojtovich's avatar
      MDEV-7004 - Merge scalability fixes from 10.0-power · 3392278c
      Sergey Vojtovich authored
      Preallocate dynamic array and bitmap on mem_root to avoid expensive malloc.
      This reduces number of allocations from 39 to 31 per OLTP RO transaction.
      3392278c
    • Sergey Vojtovich's avatar
      MDEV-7004 - Merge scalability fixes from 10.0-power · eaa8c154
      Sergey Vojtovich authored
      Preallocate dynamic array on THD mem_root to avoid expensive malloc.
      eaa8c154
    • Monty's avatar
      - Changed default values of query_prealloc_size and query_alloc_block_size · 070a6e7a
      Monty authored
      so that a simple query with one join would not have to call my_malloc.
      - Allow lower limites for query_prealloc_size for testing.
      - Fixed wrong initialization of trans_alloc_block_size
      070a6e7a
    • Sergey Vojtovich's avatar
      Cherry pick dynamic array changes from commit: · 9127784d
      Sergey Vojtovich authored
      commit 85fd3d901311688e18ffce92ffc78129e5625791
      Author: Monty <monty@mariadb.org>
      Date:   Fri Aug 29 14:07:43 2014 +0300
      
          my_alloc.c
          - Changed 0x%lx -> %p
          array.c:
          - Static (preallocated) buffer can now be anywhere
          my_sys.h
          - Define MY_INIT_BUFFER_USED
          sql_delete.cc & sql_lex.cc
          - Use memroot when allocating classes (avoids call to current_thd)
          sql_explain.h:
          - Use preallocated buffers
          sql_explain.cc:
          - Use preallocated buffers and memroot
          sql_select.cc:
          - Use multi_alloc_root() instead of many alloc_root()
          - Update calls to Explain
      9127784d
    • Sergey Vojtovich's avatar
      MDEV-7004 - Merge scalability fixes from 10.0-power · 97480877
      Sergey Vojtovich authored
      All callers of open_cached_file() use 2 characters prefix. Allocating memory for
      such short string is an overkill. Store it on IO_CACHE structure instead.
      
      All callers of open_cached_file() use mysql_tmpdir as dir. No need to allocate
      memory for it since it is constant and available till server shutdown.
      
      This reduces number of allocations from 31 to 27 per OLTP RO transaction.
      97480877