diff options
author | Monty <monty@mariadb.org> | 2021-02-25 11:55:08 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2021-02-25 13:23:59 +0200 |
commit | 1d80e8e4f31b2e361241973467070975f6d80136 (patch) | |
tree | 42d42516ea4b6a77dd34b5f10a6ab732c5dbc323 /mysql-test/suite/plugins/t/cassandra_qcache.test | |
parent | 4473d174308eeb14757fc986da39b8f4d391ce03 (diff) | |
download | mariadb-git-1d80e8e4f31b2e361241973467070975f6d80136.tar.gz |
MENT-1098 Crash during update on 10.4.17 after upgrade from 10.4.10
The reason for the crash was that there was not a write lock to
protect against file rotations in the server_audit plugin after an
audit plugin patch to changed audit mutexes to read & write locks.
The fixes are:
* Moving server_audit.c to use read & write locks (which improves
performance).
* Added functionality in file_logger.c to not do file rotations until
it is allowed by the caller (done without any interface changes for
the logging service).
* Move checking of file size limit to server_audit.c and if it is time to
do a rotation change the read lock to a write lock and tell file_logger
that it is now allowed to rotate the log files.
Diffstat (limited to 'mysql-test/suite/plugins/t/cassandra_qcache.test')
0 files changed, 0 insertions, 0 deletions