1. 20 May, 2022 3 commits
    • Oleksandr Byelkin's avatar
      20d192bc
    • Daniel Bartholomew's avatar
      bump the VERSION · 55266b05
      Daniel Bartholomew authored
      55266b05
    • Tuukka Pasanen's avatar
      MDEV-28191: Suspend Lintian problems in mariadb-test-data package · 06f043d7
      Tuukka Pasanen authored
      Suspend
       national-encoding
       repeated-path-segment
       package-contains-documentation-outside-usr-share-doc
      
      Package mariadb-test-data has test files
      in directory '/usr/share/mysql/mysql-test/' which are not UTF-8
      encoded and they should not be as they are for testing.
      
      package also have Lintian warnings for files that
      are not in correct place in directory 'usr/share/mysql/mysql-test'
      but as they are all are test results they are not in incorrect place
      
      At last there is intentional use for some repeated directories so
      they are false-positives and should be suspended
      06f043d7
  2. 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
  3. 17 May, 2022 10 commits
  4. 16 May, 2022 8 commits
  5. 15 May, 2022 5 commits
  6. 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
  7. 12 May, 2022 5 commits
  8. 11 May, 2022 2 commits