1. 23 Jun, 2015 1 commit
    • Sergey Vojtovich's avatar
      MDEV-8030 - Apc_target::disable() locks mutex twice · 84568c29
      Sergey Vojtovich authored
      Moved Apc_target::destroy(), Apc_target::enable() and Apc_targe::disable()
      definitions to my_apc.h so that they can be inlined.
      
      Apc_targe::disable() now calls Apc_target::process_apc_requests() only if
      there're APC requests. This saves one pthread_mutex_lock() call.
      
      Overhead change:
      Apc_target::disable              0.04% -> out of radar
      Apc_target::enable               0.03% -> out of radar
      Apc_target::process_apc_requests 0.02% -> out of radar
      pthread_mutex_lock               0.43% -> 0.42%
      pthread_mutex_unlock             0.26% -> 0.25%
      84568c29
  2. 22 Jun, 2015 1 commit
  3. 20 Jun, 2015 2 commits
  4. 19 Jun, 2015 7 commits
  5. 18 Jun, 2015 6 commits
  6. 17 Jun, 2015 1 commit
  7. 15 Jun, 2015 2 commits
    • Kristian Nielsen's avatar
      Merge branch 'mdev8294' into 10.1 · 6a92fa4b
      Kristian Nielsen authored
      6a92fa4b
    • Kristian Nielsen's avatar
      MDEV-8294: Inconsistent behavior of slave parallel threads at runtime · 93c039dd
      Kristian Nielsen authored
      Follow-up patch to temporarily avoid a sporadic failure in the test
      rpl.rpl_000011 due to MDEV-8301.
      
      There is a window during thread exit where the global status is
      counted incorrectly - the contribution for the exiting thread is
      counted twice. The patch for MDEV-8294 made this window visible to the
      test case rpl.rpl_000011, causing it to sporadically fail. Temporarily
      silence this with a wait for the expected value; can be removed once
      MDEV-8294 is fixed.
      93c039dd
  8. 10 Jun, 2015 2 commits
  9. 09 Jun, 2015 7 commits
  10. 05 Jun, 2015 1 commit
  11. 04 Jun, 2015 1 commit
    • Jan Lindström's avatar
      MDEV-8250: InnoDB: Page compressed tables are not compressed and... · f7002c05
      Jan Lindström authored
      MDEV-8250: InnoDB: Page compressed tables are not compressed and compressed+encrypted tables cause crash
      
      Analysis: Problem is that both encrypted tables and compressed tables use
      FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION to store
      required metadata. Furhermore, for only compressed tables currently
      code skips compression.
      
      Fixes:
      - Only encrypted pages store key_version to FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION,
        no need to fix
      - Only compressed pages store compression algorithm to FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION,
        no need to fix as they have different page type FIL_PAGE_PAGE_COMPRESSED
      - Compressed and encrypted pages now use a new page type FIL_PAGE_PAGE_COMPRESSED_ENCRYPTED and
        key_version is stored on FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION and compression
        method is stored after FIL header similar way as compressed size, so that first
        FIL_PAGE_COMPRESSED_SIZE is stored followed by FIL_PAGE_COMPRESSION_METHOD
      - Fix buf_page_encrypt_before_write function to really compress pages if compression is enabled
      - Fix buf_page_decrypt_after_read function to really decompress pages if compression is used
      - Small style fixes
      f7002c05
  12. 03 Jun, 2015 1 commit
  13. 02 Jun, 2015 8 commits