1. 27 Jan, 2015 1 commit
  2. 26 Jan, 2015 1 commit
  3. 24 Jan, 2015 1 commit
  4. 21 Jan, 2015 1 commit
    • Nirbhay Choubey's avatar
      MDEV-7123 : MariaDB 10.0.14 Galera node shutdown with signal 11 · b5201200
      Nirbhay Choubey authored
      wsrep-patch uses same connection name for constructing Master_info
      objects. As a result all existing wsrep Master_info objects refer
      to same rpl_filter object. This could lead to race when multiple
      threads try to delete/destruct Master_info object, as they would
      all try to delete the same relay_log object.
      
      Fixed by adding a check in Master_info's destructor to not free
      the "wsrep" rpl_filter, so that its reused by current & subsequent
      wsrep threads and later reclaimed by free_all_rpl_filters() during
      server shutdown.
      b5201200
  5. 18 Jan, 2015 1 commit
  6. 16 Jan, 2015 1 commit
  7. 13 Jan, 2015 1 commit
    • Nirbhay Choubey's avatar
      MDEV-6771 : Incorrect Size for Transfer Reported to pv · abf400e8
      Nirbhay Choubey authored
      xargs may split the input and execute them in batches for
      large number of files. As a result xtrabackup sst script
      may feed incorrect size to pv.
      Fixed by piping the files to du directly (du --files0-from=-).
      
      [Based on suggestions from Brad Jorgensen]
      abf400e8
  8. 09 Jan, 2015 1 commit
    • Nirbhay Choubey's avatar
      MDEV-7123 : MariaDB 10.0.14 Galera node shutdown with signal 11 · dd80c22c
      Nirbhay Choubey authored
      wsrep-patch uses same connection name for constructing Master_info
      objects. As a result all existing wsrep Master_info objects refer
      to same rpl_filter object. This could lead to race when multiple
      threads try to delete/destruct Master_info object, as they would
      all try to delete the same relay_log object.
      
      Fixed by adding a check in Master_info's destructor to not free
      the "wsrep" rpl_filter, so that its reused by current & subsequent
      wsrep threads and later reclaimed by free_all_rpl_filters() during
      server shutdown.
      dd80c22c
  9. 07 Jan, 2015 1 commit
  10. 02 Jan, 2015 1 commit
  11. 01 Jan, 2015 1 commit
  12. 21 Dec, 2014 1 commit
  13. 12 Dec, 2014 2 commits
  14. 10 Dec, 2014 1 commit
  15. 09 Dec, 2014 2 commits
  16. 05 Dec, 2014 1 commit
  17. 21 Nov, 2014 5 commits
  18. 20 Nov, 2014 11 commits
  19. 19 Nov, 2014 6 commits
    • Sergei Golubchik's avatar
      Fix YaSSL on windows · ed2cc2a8
      Sergei Golubchik authored
      This came with the upgrade from yassl 2.3.0 to 2.3.4 -
      ssl tests started to hang on Windows. Comparing and removing changes
      I've got to this:
      
       void input_buffer::set_current(uint i) 
       {
      -    if (i)
      -        check(i - 1, size_); 
      -    current_ = i; 
      +    if (error_ == 0 && i && check(i - 1, size_) == 0)
      +        current_ = i;
      +    else
      +        error_ = -1;
       }
      
      in 2.3.0 i==0 was only used to avoid the check, in 2.3.4 it's an error.
      but there are places in the code that do set_current(0) and others that
      do, like, { before=get_current(); ...; set_current(before); } - and the
      initial value of current_ is 0.
      
      So, I suspect that set_current(0) should not be an error, but it should
      only skip the check().
      ed2cc2a8
    • Nirbhay Choubey's avatar
      MDEV-7131: [PATCH] wsrep_guess_ip doesn't compile on OpenBSD · a4cdd20d
      Nirbhay Choubey authored
      Extend platform check to include OpenBSD.
      (Contributed by: Jonathan Matthew)
      a4cdd20d
    • Jan Lindström's avatar
      MDEV-7084: innodb index stats inadequate using constant · 8bc5eabe
      Jan Lindström authored
      innodb_stats_sample_pages
      
      Analysis: If you set the number of analyzed pages 
      to very low number compared to actual pages on 
      that table/index it randomly pics those pages 
      (default 8 pages), this leads to fact that query 
      after analyze table returns different results. If 
      the index tree is small, smaller than 10 * 
      n_sample_pages + total_external_size, then the 
      estimate is ok. For bigger index trees it is 
      common that we do not see any borders between 
      key values in the few pages we pick. But still 
      there may be n_sample_pages different key values, 
      or even more. And it just tries to 
      approximate to n_sample_pages (8).
      
      Fix: (1) Introduced new dynamic configuration variable
      innodb_stats_sample_traditional  that retains
      the current design. Default false.
      
      (2) If traditional sample is not used we use
      n_sample_pages = max(min(srv_stats_sample_pages,
                               index->stat_index_size),
                           log2(index->stat_index_size)*
                                srv_stats_sample_pages);
      
      (3) Introduced new dynamic configuration variable
      stat_modified_counter (default = 0) if set
      sets lower bound for row updates when statistics is re-estimated.
      
      If user has provided upper bound for how many rows needs to be updated
      before we calculate new statistics we use minimum of provided value
      and 1/16 of table every 16th round. If no upper bound is provided
      (srv_stats_modified_counter = 0, default) then calculate new statistics
      if 1 / 16 of table has been modified
      since the last time a statistics batch was run.
      We calculate statistics at most every 16th round, since we may have
      a counter table which is very small and updated very often.
      @param t table
      @return true if the table has changed too much and stats need to be
      recalculated
      */
      #define DICT_TABLE_CHANGED_TOO_MUCH(t) \
      	((ib_int64_t) (t)->stat_modified_counter > (srv_stats_modified_counter ? \
      	ut_min(srv_stats_modified_counter, (16 + (t)->stat_n_rows / 16)) : \
      		16 + (t)->stat_n_rows / 16))
      8bc5eabe
    • Sergei Golubchik's avatar
      MDEV-6975 Implement TLS protocol · d851d5e7
      Sergei Golubchik authored
      followup:
      * explicitly disable SSLv2 and SSLv3, keep other protocols enabled
      * fix a compiler warning
      * rename the test and combinations to avoid confusion
      
      vio/viossl.c:
        fix a compiler warning
      d851d5e7
    • Sergei Golubchik's avatar
      5.5 merge · 3495801e
      Sergei Golubchik authored
      3495801e
    • Sergey Petrunya's avatar
      MDEV-7118: Anemometer stop working after upgrade to from... · 00475d40
      Sergey Petrunya authored
      When the optimizer considers an option to use Loose Scan, it should 
      still consider UNIQUE keys (Previously, MDEV-4120 disabled loose scan
      for all kinds of unique indexes. That was wrong)
      
      However, we should not use Loose Scan when trying to satisfy 
       "SELECT DISTINCT col1, col2, .. colN"
      when using an index defined as UNIQU(col1, col2, ... colN).
      00475d40