1. 29 Jul, 2017 3 commits
  2. 28 Jul, 2017 3 commits
    • Sergei Petrunia's avatar
      Copy of · 43d5edf9
      Sergei Petrunia authored
      commit 394d0712d3d46a87a8063e14e998e9c22336e3a6
      Author: Anca Agape <anca@fb.com>
      Date:   Thu Jul 27 15:43:07 2017 -0700
      
          Fix rpl.rpl_4threads_deadlock test broken by D5005670
      
          Summary:
          In D5005670 in fill_fields_processlist() function we introduced a point
          where we were trying to take the LOCK_thd_data before the
          synchronization point used by test
          processlist_after_LOCK_thd_count_before_LOCK_thd_data. This was
          happening in get_attached_srv_session() function called. Replaced this
          with get_attached_srv_session_safe() and moved it after lock is aquired.
      
          Reviewed By: tianx
      
          Differential Revision: D5505992
      
          fbshipit-source-id: bc53924
      43d5edf9
    • Sergei Petrunia's avatar
      MDEV-13153: Assertion ... failed on partitioned RocksDB table · 488f46f3
      Sergei Petrunia authored
      ha_partition creates temporary ha_XXX objects for its partitions when
      performing DDL operations. The objects were created on a MEM_ROOT and
      never deleted.
      This works as long as ha_XXX objects free all data ha_XXX::close() and
      don't rely on a proper destructor invocation. Unfortunately, ha_rocksdb
      includes String members which need to be delete'd properly.
      
      Fixed the bug by having ha_partition::~ha_partition delete these temporary
      objects.
      488f46f3
    • Alexander Barkov's avatar
  3. 21 Jul, 2017 3 commits
  4. 17 Jul, 2017 2 commits
    • Alexander Kuleshov's avatar
      update .gitignore · bc75c57c
      Alexander Kuleshov authored
      during build on 10.2 following files are generated:
      
        * scripts/galera_new_cluster
        * scripts/galera_recovery
        * support-files/mariadb.service
        * support-files/mariadb.pp
      
      and they are untracked for git. Let's add them to .gitignore
      bc75c57c
    • Vladislav Vaintroub's avatar
      MDEV-13332 mariabackup from 10.2.x crashes with --ftwrl-* options · 013595f5
      Vladislav Vaintroub authored
      Fixed null pointer dereference in parsing "show full processlist" output
      with atoi().
      
      Some  Innodb background thread has NULL in 'Time' column,
      thus  backup would crash with when atoi is applied to null pointer.
      013595f5
  5. 15 Jul, 2017 1 commit
  6. 13 Jul, 2017 4 commits
  7. 12 Jul, 2017 3 commits
  8. 11 Jul, 2017 1 commit
  9. 09 Jul, 2017 6 commits
  10. 08 Jul, 2017 1 commit
  11. 07 Jul, 2017 5 commits
    • Sergei Golubchik's avatar
      compilation warning · 5789934f
      Sergei Golubchik authored
      5789934f
    • Marko Mäkelä's avatar
      MDEV-13267 At startup with crash recovery: mtr_t::commit_checkpoint(lsn_t,... · 42f657cd
      Marko Mäkelä authored
      MDEV-13267 At startup with crash recovery: mtr_t::commit_checkpoint(lsn_t, bool): Assertion `!recv_no_log_write' failed
      
      This is a bogus debug assertion failure that should be possible
      starting with MariaDB 10.2.2 (which merged WL#7142 via MySQL 5.7.9).
      
      While generating page-change redo log records is strictly out of the
      question during tat certain parts of crash recovery, the
      fil_names_clear() is only emitting informational MLOG_FILE_NAME
      and MLOG_CHECKPOINT records to guarantee that if the server is killed
      during or soon after the crash recovery, subsequent crash recovery
      will be possible.
      
      The metadata buffer that fil_names_clear() is flushing to the redo log
      is being filled by recv_init_crash_recovery_spaces(), right before
      starting to apply redo log, by invoking fil_names_dirty() on every
      discovered tablespace for which there are changes to apply.
      
      When it comes to Mariabackup (xtrabackup --prepare), it is strictly out
      of the question to generate any redo log whatsoever, because that could
      break the restore of incremental backups by causing LSN deviation.
      So, the fil_names_dirty() call must be skipped when restoring backups.
      
      recv_recovery_from_checkpoint_start(): Do not invoke fil_names_clear()
      when restoring a backup.
      
      mtr_t::commit_checkpoint(): Remove the failing assertion. The only
      caller is fil_names_clear(), and it must be called by
      recv_recovery_from_checkpoint_start() for normal server startup to be
      crash-safe. The debug assertion in mtr_t::commit() will still
      catch rogue redo log writes.
      42f657cd
    • Sergei Golubchik's avatar
      Merge branch '10.0' into 10.1 · 9e11e055
      Sergei Golubchik authored
      9e11e055
    • Marko Mäkelä's avatar
      f20693c2
    • Daniel Black's avatar
      travis: Debian build - minimise packages, enable ccache · 3b862aaa
      Daniel Black authored
      Even disabling the ccache on the Debian build didn't always prevent
      the Travis build running out of space.
      
      As an alternative strategy, the number of alternative compilers has been
      reduced to save space. This additional space has been partially reused
      by the ccache.
      
      Debian build specific packages have been removed from other builds.
      3b862aaa
  12. 06 Jul, 2017 8 commits