1. 15 Mar, 2018 3 commits
  2. 14 Mar, 2018 12 commits
  3. 13 Mar, 2018 8 commits
  4. 12 Mar, 2018 10 commits
  5. 11 Mar, 2018 2 commits
    • Sergei Petrunia's avatar
      MDEV-15245: Assertion `false' failed in myrocks::ha_rocksdb::position · 28777046
      Sergei Petrunia authored
      Don't call handler->position() if the last call to read a row did
      not succeed.
      28777046
    • sjaakola's avatar
      MDEV-15540 · c439fdc9
      sjaakola authored
      The error log redirection for wsrep_recover run does not work in old version.
      For the wsrep_recovery run, error logging is supposed to go into:
      mysql-test/suite/galera/include/galera_wsrep_recover.inc
      In old version, this works only partially, 4 first lines of error messages after mysql startup
      do go into the galera_wsrep_recover.log, but after that the default error log file is enforced
      and remaining error logging goes into the default error log file.
      
      In this patch this problem is fixed by passing --log-error option in mysql startup
      
      This fix was tested with galera_gcache_recover test, which is currently in disabled state.
      Note that the test does not pass even after this fix, as there are further more issues
      in later test phases.
      c439fdc9
  6. 10 Mar, 2018 5 commits
    • Marko Mäkelä's avatar
      MDEV-15529 IMPORT TABLESPACE unnecessarily uses the doublewrite buffer · 112df069
      Marko Mäkelä authored
      fil_space_t::atomic_write_supported: Always set this flag for
      TEMPORARY TABLESPACE and during IMPORT TABLESPACE. The page
      writes during these operations are by definition not crash-safe
      because they are not written to the redo log.
      
      fil_space_t::use_doublewrite(): Determine if doublewrite should
      be used.
      
      buf_dblwr_update(): Add assertions, and let the caller check whether
      doublewrite buffering is desired.
      
      buf_flush_write_block_low(): Disable the doublewrite buffer for
      the temporary tablespace and for IMPORT TABLESPACE.
      
      fil_space_set_imported(), fil_node_open_file(), fil_space_create():
      Initialize or revise the space->atomic_write_supported flag.
      
      buf_page_io_complete(), buf_flush_write_complete(): Add the parameter
      dblwr, to indicate whether doublewrite was used for writes.
      
      buf_dblwr_sync_datafiles(): Remove an unnecessary flush of
      persistent tablespaces when flushing temporary tablespaces.
      (Move the call to buf_dblwr_flush_buffered_writes().)
      112df069
    • Marko Mäkelä's avatar
      MDEV-15524 Do not disable page checksums for temporary tables · 54765aaa
      Marko Mäkelä authored
      buf_flush_init_for_writing(): Remove the parameter skip_checksum.
      54765aaa
    • Marko Mäkelä's avatar
      MDEV-15524 Do not write garbage for temporary tables · 4fa18d52
      Marko Mäkelä authored
      fsp_init_file_page_low(): Always initialize the page.
      4fa18d52
    • Marko Mäkelä's avatar
      1e4cb840
    • Jacob Mathew's avatar
      MDEV-14019: Spider + binlog_format = ROW => CRASH · 90247658
      Jacob Mathew authored
      The crash occurs when inserting into, updating or deleting from Spider system
      tables.  These operations do not go through the normal insert, update or
      delete logic, so binary logging of the row is not properly set up and leads
      to the crash.
      
      The fix for this problem uses the same strategy as is used for the servers
      system table that contains entries for the servers created with CREATE SERVER.
      Binary logging is now temporarily disabled on insert, update and delete
      operations on Spider system tables.
      
      Author:
        Jacob Mathew.
      
      Reviewer:
        Kentoku Shiba.
      90247658