mariadb/mysql-test/suite
Rucha Deodhar 41a2ccc94a MDEV-35511: Backport fix for Audit log not reporting user in Galera cluster
Setting a nae for the the THD::security_ctx:user field for wsrep applier threads.
With this, the audit log events related to wsrep applying will be written in the
audit log.

Using user name <cluster user> for wsrep appliers. This is for having identical
look with async replication, which uses: <replication_user> user name.
Another option for <cluster user> could be e.g. <wsrep user>. Hoever, using galera
for user name is not a good pick, as the cluster may have (and soon will have)
other GCS backends.

Using same approach as async replication to replace the security_ctx user name
with "system user" for processlist output.

Commit has also mtr test galera.MDEV-35511, to vevrify wsrep applier audit logging.
The test does not install/uninstall audit log plugin, bu loads the audit log plugin
before the test. This is because uninstalling the audit log plugin gives a warning
saying that plugin is busy and uninstall will be delayed until server shutdown.
This anomaly must be because of the applier thread being active audit logger.
Same problem with plugin unsinstall happens also with async relication workers.
If plugn remains installed, the post test sanity check will complain of mismatching
state of pre and post test states.
2025-11-07 15:39:55 +02:00
..
archive test: archive-big test too big for msan 2025-04-07 11:04:53 +02:00
atomic MDEV-36666 - atomic.alter_table still times out often 2025-04-25 10:40:47 +04:00
binlog MDEV-37885: Server crash or ASAN errors in rpl_binlog_state::drop_domain 2025-10-17 13:44:19 -06:00
binlog_encryption Merge 10.5 into 10.6 2025-03-26 17:09:57 +02:00
client
compat Merge branch '10.5' into 10.6 2025-01-29 11:17:38 +01:00
csv Backporting bugs fixes fixed by MDEV-31340 from 11.5 2024-05-21 14:58:01 +04:00
encryption MDEV-36180 Doublewrite recovery of innodb_checksum_algorithm=full_crc32 page_compressed pages does not work 2025-03-26 12:03:44 +01:00
engines Remove dates from all rdiff files 2025-01-05 16:40:11 +02:00
federated MDEV-31846: enable cursor protocol for test federatedx_create_handlers 2025-04-07 11:04:53 +02:00
funcs_1 MDEV-36848: identify tests with various MSAN suitability 2025-05-28 16:33:49 +10:00
funcs_2 Merge 10.5 into 10.6 2025-03-26 17:09:57 +02:00
galera MDEV-35511: Backport fix for Audit log not reporting user in Galera cluster 2025-11-07 15:39:55 +02:00
galera_3nodes MDEV-37494 Diagnostics_area does not always contain apply error info 2025-09-15 16:48:10 +02:00
galera_3nodes_sr galera mtr tests: synchronization between branches and editions 2025-04-02 04:50:11 +02:00
galera_sr galera tests: synchronization between versions and editions 2025-08-14 17:04:40 +02:00
gcol Merge branch '10.5' into 10.6 2025-04-21 10:43:17 +02:00
handler Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
heap Merge 10.5 into 10.6 2025-01-20 09:57:37 +02:00
innodb MDEV-38026 Recovery of FILE_CREATE fails to create a file 2025-11-07 08:09:08 +02:00
innodb_fts MDEV-37994 Race condition between checkpoint and .ibd file creation 2025-11-07 08:06:27 +02:00
innodb_gis MDEV-27675 Incorrect r-tree split after group assignment causes page overflow 2025-10-23 07:16:26 +03:00
innodb_i_s
innodb_zip Merge branch '10.5' into 10.6 2025-01-29 11:17:38 +01:00
jp
json MDEV-34679 ER_BAD_FIELD uses non-localizable substrings 2024-10-17 21:37:37 +02:00
large_tests fix failing large_tests.maria_recover_encrypted 2024-04-22 17:22:11 +02:00
maria make max_session_mem_used tests more reliable 2025-10-25 18:07:48 +02:00
mariabackup MDEV-36287 mariabackup ignores tables-file 2025-07-16 15:50:50 +03:00
mtr/t Remove dates from all rdiff files 2025-01-05 16:40:11 +02:00
mtr2
multi_source MDEV-24035 Failing assertion: UT_LIST_GET_LEN(lock.trx_locks) == 0 causing disruption and replication failure 2024-12-12 18:02:00 +02:00
optimizer_unfixed_bugs
parts Merge 10.5 into 10.6 2025-03-26 17:09:57 +02:00
perfschema make max_session_mem_used tests more reliable 2025-10-25 18:07:48 +02:00
perfschema_stress
period MDEV-37397 Assertion `bitmap_is_set(&read_partitions, next->id)' failed in int partition_info::vers_set_hist_part(THD *) 2025-09-04 17:20:02 +02:00
plugins MDEV-7451 Server audit: Table events for partitioned tables are duplicated for each partition. 2025-10-23 00:25:52 +04:00
roles Merge 10.5 into 10.6 2025-01-20 09:57:37 +02:00
rpl MDEV-37453 Parallel slave worker crashes during Backup at retrying 2025-10-17 15:46:53 +03:00
s3 MDEV-29157 SELECT using ror_merged scan fails with s3 tables 2025-06-02 14:02:53 +03:00
sql_sequence MDEV-37172 Server crashes in Item_func_nextval::update_table after INSERT to the table, that uses expression with nextval() as default 2025-09-14 19:24:07 +03:00
storage_engine MDEV-22189: Change error messages inside code to have mariadb instead of 2021-05-24 11:38:13 +05:30
stress MDEV-34453 Trying to read 16384 bytes at 70368744161280 outside the bounds of the file: ./ibdata1 2024-09-20 20:26:43 +05:30
sys_vars MDEV-37672: Remove innodb_trx_rseg_n_slots_debug 2025-10-22 09:33:53 +03:00
sysschema Merge 10.5 into 10.6 2024-03-12 09:19:57 +02:00
unit
vcol MDEV-29155 CREATE OR REPLACE with self-referencing CHECK hangs 2025-05-29 12:34:07 +03:00
versioning MDEV-36817 Server crashes in do_mark_index_columns instead of 2025-05-23 14:46:34 +03:00
wsrep galera: changes for transition to galera library 26.4.23 2025-07-17 17:21:02 +02:00