1. 12 May, 2023 2 commits
    • Marko Mäkelä's avatar
      MDEV-31254 InnoDB: Trying to read doublewrite buffer page · c9eff1a1
      Marko Mäkelä authored
      buf_read_page_low(): Remove an error message and a debug assertion
      that can be triggered when using innodb_page_size=4k and
      innodb_file_per_table=0. In that case, buf_read_ahead_linear()
      may be invoked on page 255, which is one less than the first
      page of the doublewrite buffer (256).
      c9eff1a1
    • Marko Mäkelä's avatar
      MDEV-31253 Freed data pages are not always being scrubbed · 477285c8
      Marko Mäkelä authored
      fil_space_t::flush_freed(): Renamed from buf_flush_freed_pages();
      this is a backport of aa458506 from 10.6.
      Invoke log_write_up_to() on last_freed_lsn, instead of avoiding
      the operation when the log has not yet been written.
      A more costly alternative would be that log_checkpoint() would invoke
      this function on every affected tablespace.
      477285c8
  2. 11 May, 2023 2 commits
  3. 10 May, 2023 1 commit
  4. 05 May, 2023 2 commits
    • Oleksandr Byelkin's avatar
      Merge branch '10.4' into 10.5 · b735ca47
      Oleksandr Byelkin authored
      b735ca47
    • Sergei Petrunia's avatar
      MDEV-31194: Server crash or assertion failure with join_cache_level=4 · 2594da7a
      Sergei Petrunia authored
      The problem, introduced in patch for MDEV-26301:
      
      When check_join_cache_usage() decides not to use join buffer, it must
      adjust the access method accordingly. For BNL-H joins this means switching
      from pseudo-"ref access"(with index=MAX_KEY) to some other access method.
      
      Failing to do this will cause assertions down the line when code that is
      not aware of BNL-H will try to initialize index use for ref access with
      index=MAX_KEY.
      
      The fix is to follow the regular code path to disable the join buffer for
      the join_tab ("goto no_join_cache") instead of just returning from
      check_join_cache_usage().
      2594da7a
  5. 04 May, 2023 7 commits
  6. 03 May, 2023 7 commits
  7. 02 May, 2023 11 commits
  8. 29 Apr, 2023 2 commits
  9. 28 Apr, 2023 6 commits