[MDEV-18855] Mariabackup should fetch innodb_compression_level from running server Created: 2019-03-08  Updated: 2019-03-08  Resolved: 2019-03-08

Status: Closed
Project: MariaDB Server
Component/s: mariabackup
Affects Version/s: 10.1, 10.2, 10.3, 10.4
Fix Version/s: 10.2.23, 10.1.39, 10.3.14, 10.4.4

Type: Bug Priority: Major
Reporter: Thirunarayanan Balathandayuthapani Assignee: Thirunarayanan Balathandayuthapani
Resolution: Fixed Votes: 0
Labels: mariabackup


 Description   

innodb_compression_level variable used to specify the level of ZLIB compression to use for InnoDB compressed tables and indexes. It is not persistently in tablespace flags.
Mariabackup fails to retrieve the value from the running server. So it may fail to use the correct compression level while preparing the backup.



 Comments   
Comment by Thirunarayanan Balathandayuthapani [ 2019-03-08 ]

patch is in bb-10.1-thiru (https://github.com/MariaDB/server/commits/bb-10.1-thiru)

Comment by Marko Mäkelä [ 2019-03-08 ]

Looks OK after fixing the type mismatch for page_zip_level (use "%u" and GET_UINT instead of "%lu" and GET_ULONG).

Generated at Thu Feb 08 08:47:14 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.