1. 03 Apr, 2019 5 commits
  2. 02 Apr, 2019 31 commits
  3. 01 Apr, 2019 4 commits
    • Monty's avatar
      index_merge_innodb did sometimes give wrong results · 88400450
      Monty authored
      Fixed by adding more rows to a table
      
      Other things:
      - Speed up index_merge tests 20% by adding begin/commit around loops that
        generated rows.
      88400450
    • Monty's avatar
      MDEV-19116 Speed up rotation of binary logs · 48810a00
      Monty authored
      Fixed by caching last binary log number used in last_used_log_number
      
      Other things:
      - Moved locking of LOCK_log form new_file_impl() to new_file(). This fixed
        a bug where LOCK_log could have been unlocked even if 'need_lock' was
        not set.  Removed not anymore used argument need_lock.
      - Made generate_new_name() virtual to simplify the code between
        other logs and binary log.
      
      Reviewed by Andrei Elkin
      48810a00
    • Monty's avatar
      MDEV-19117 Don't keep binary log index file locked during show binary logs · adb70162
      Monty authored
      On some systems with 10,000+ binlogs, show binary logs could block
      log rotation for more than 10 seconds.
      
      This patch fixes this by first caching all binary log names and
      releases all mutexes while calculating the sizes of the binary logs.
      
      Other things:
      - Ensure that reinit_io_cache() sets end_of_file when moving to read_cache.
        This ensures that external changes of the underlying file is known to
        the cache.
      - get_binlog_list() is made more efficent and show_binlogs() is changed
        to call get_binlog_list()
      
      Reviewed by Andrei Elkin
      adb70162
    • Monty's avatar