1. 06 Jul, 2017 7 commits
    • Marko Mäkelä's avatar
      Mariabackup: Copy all of the redo log correctly · 99d52c45
      Marko Mäkelä authored
      xtrabackup_copy_log(), xtrabackup_copy_logfile():
      Change the Boolean parameter to an enum, with the values
      COPY_FIRST, COPY_ONLINE, COPY_LAST.
      
      xtrabackup_copy_log(): Return the latest scanned LSN,
      which may be less than the last copied LSN. Remove some
      dead code that was duplicating some logic that in 10.2
      has been moved to log_group_read_log_seg().
      
      log_copying_thread(): Correct the termination condition.
      
      stop_backup_threads(): Shut down the threads that were
      created during backup.
      99d52c45
    • Marko Mäkelä's avatar
      Mariabackup: Remove unused parameters and fix some memory leaks · d7b21a49
      Marko Mäkelä authored
      Use GET_STR instead of GET_STR_ALLOC, so that the memory will
      cannot be leaked. For some reason, calling my_cleanup_options()
      on xb_server_options or xb_client_options would not work.
      d7b21a49
    • Vladislav Vaintroub's avatar
      mysqltest - increase size of the "die message". · 60e61708
      Vladislav Vaintroub authored
      This reduces the probability having output of external utilities
      (e.g mariabackup) truncated.
      60e61708
    • Vladislav Vaintroub's avatar
      MDEV-12445 : Rocksdb does not shutdown worker threads and aborts in memleak... · 6f1f9114
      Vladislav Vaintroub authored
      MDEV-12445 : Rocksdb does not shutdown worker threads and aborts in memleak check on server shutdown
      
      Disable memory leak check in debug server, if rocksdb is loaded.
      There is some subtle bug somewhere in 3rd party code we cannot
      do much about.
      
      The bug is manifested as follows
      
      Rocksdb does not shutdown worker threads, when plugin is shut down. Thus
      OS does not unload the library since there are some active threads using
      this library's code. Thus global destructors in the library do not run,
      and there is still some memory allocated when server exits.
      
      The workaround disables server's memory leak check, if rocksdb engine was
      loaded.
      6f1f9114
    • Vladislav Vaintroub's avatar
      Fix assertion in rocksb. · 53d6325d
      Vladislav Vaintroub authored
      Use thd_query_safe() to read query from a different connection.
      53d6325d
    • Sergey Vojtovich's avatar
      Fixed build failure on Windows · 4e08cdf5
      Sergey Vojtovich authored
      4e08cdf5
    • Fredrik Fornwall's avatar
      Remove obsolete synonyms for access bits · 7e6a600d
      Fredrik Fornwall authored
      Replace S_IREAD, S_IWRITE and S_IEXEC with more modern equivalents.
      Fixes building for Android.
      7e6a600d
  2. 05 Jul, 2017 33 commits