1. 18 May, 2022 3 commits
    • Sergei Golubchik's avatar
      Merge branch '10.5' into 10.6 · b2187662
      Sergei Golubchik authored
      b2187662
    • Sergei Golubchik's avatar
      Merge branch '10.4' into 10.5 · 7970ac7f
      Sergei Golubchik authored
      7970ac7f
    • Andrei's avatar
      MDEV-28461 semisync-slave server recovery fails to rollback prepared transaction · 98ca71ab
      Andrei authored
      that is not in binlog.
      
      Post-crash recovery of --rpl-semi-sync-slave-enabled server
      failed to recognize a transaction in-doubt that needed rolled back.
      A prepared-but-not-in-binlog transaction gets committed instead
      to possibly create inconsistency with a master (e.g the way it was observed
      in the bug report).
      
      The semisync recovery is corrected now with initializing binlog coordinates
      of any transaction in-doubt to the maximum offset which is
      unreachable.
      In effect when a prepared transaction that is not found in binlog
      it will be decided to rollback because it's guaranteed to reside
      in a truncated tail area of binlog.
      
      Mtr tests are reinforced to cover the described scenario.
      98ca71ab
  2. 17 May, 2022 10 commits
  3. 16 May, 2022 8 commits
  4. 15 May, 2022 5 commits
  5. 13 May, 2022 4 commits
    • Nayuta Yanagisawa's avatar
      MDEV-28301 Spider: Fix GCC warnings, comparing the result of pointer addition ... and NULL · 8c28b27f
      Nayuta Yanagisawa authored
      The condition of the if statements are always true.
      8c28b27f
    • Vladislav Vaintroub's avatar
      MDEV-28471 mysql_install_db.exe does not work with --innodb-page-size=64K · f027c121
      Vladislav Vaintroub authored
      The error message "InnoDB: innodb_page_size=65536 requires innodb_buffer_pool_size >= 20MiB current 10MiB" is the relevant one.
      
      The root cause:
      mysql_install_db bootstraps with --innodb-buffer-pool-size=10M.
      Small bufferpool is here by design - bootstrap should succeed,
      even if there is not much RAM available, bootstrap does not need that much
      memory.
      
      For pagesize 64K specifically, Innodb thinks it needs a larger bufferpool,
      and thus it lets the bootstrap process die (although the expected behavior
      in this case would be to adjust value, give warning and continue)
      
      The workaround:
      - pass --innodb-buffer-pool-size=20M, which is suitable for all page sizes.
      - check the same limit in MSI custom action.
      
      Also, the patch adds mtr test for 64K page size.
      f027c121
    • Brandon Nesterenko's avatar
      MDEV-28550: improper handling of replication event group that contains Gtid_log_list_event · 2d26f712
      Brandon Nesterenko authored
      If a slave received a fake GLLE event after a GTID event
      it would terminate the group. This adds a test for the
      previous commit which fixed this issue (939672a).
      
      Review by Andrei Elkin <andrei.elkin@mariadb.com>
      2d26f712
    • Andrei's avatar
      MDEV-28550 improper handling of replication event group that contains · 726bd8c9
      Andrei authored
      GTID_LIST_EVENT or INCIDENT_EVENT.
      
      It's legal to have either of the two inside a group. E.g
        Gtid_event, Gtid_log_list_event, Query_1, ... Xid_log_event
      is permitted.
      However, the slave IO thread treated both
      as the terminal even when the group represents a DDL query.
      That causes a premature Gtid state update so the slave IO would think
      the whole group has been collected while in fact Query_1 etc are yet to process.
      
      Fixed with correcting a condition to compute the terminal event
      of the group.
      Tested with rpl_mysqlbinlog_slave_consistency (of 10.9) and
      rpl_gtid_errorlog.test.
      726bd8c9
  6. 12 May, 2022 5 commits
  7. 11 May, 2022 4 commits
    • Vlad Lesin's avatar
      MDEV-28473 field_ref_zero is not initialized in xtrabackup_prepare_func() · 3fabdc3c
      Vlad Lesin authored
      The solution is to initialize field_ref_zero in main_low() before
      xtrabackup_backup_func() and xtrabackup_prepare_func() calls.
      3fabdc3c
    • Alexander Barkov's avatar
      MDEV-28446 mariabackup prepare fails for incrementals if a new schema is... · 7da0f30c
      Alexander Barkov authored
      MDEV-28446 mariabackup prepare fails for incrementals if a new schema is created after full backup is taken
      
      Adding a 10.6 specific test
      7da0f30c
    • Sergei Golubchik's avatar
      fix galera.MDEV-26575 failures · a917be3e
      Sergei Golubchik authored
      a917be3e
    • Daniel Black's avatar
      MDEV-28534: clang-12 compile warnings · 09ee95e3
      Daniel Black authored
      Errors where:
      
      /buildbot/amd64-ubuntu-2004-msan/build/sql/item.h:6478:12: error: 'val_datetime_packed' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
        longlong val_datetime_packed(THD *thd)
                 ^
      /buildbot/amd64-ubuntu-2004-msan/build/sql/item.h:3501:12: note: overridden virtual function is here
        longlong val_datetime_packed(THD *thd) override;
                 ^
      /buildbot/amd64-ubuntu-2004-msan/build/sql/item.h:6480:12: error: 'val_time_packed' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
        longlong val_time_packed(THD *thd)
                 ^
      /buildbot/amd64-ubuntu-2004-msan/build/sql/item.h:3502:12: note: overridden virtual function is here
        longlong val_time_packed(THD *thd) override;
                 ^
      09ee95e3
  8. 10 May, 2022 1 commit