Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
Description
As MariaDB is getting more storage engines and as they're getting more features, MariaDB can optionally use more and more compression libraries for various purposes.
InnoDB, TokuDB, RocksDB — they all can use different sets of compression libraries. Compiling them all in would result in a lot of run-time/rpm/deb dependencies, most of which will be never used by most of the users. Not compiling them in, would result in requests to compile them in. While most users don't use all these libraries, many users use some of these libraries.
A solution could be to load these libraries on request, without creating a packaging dependency. There are different ways to do it
- hide all compression libraries behind a single unified compression API. Either develop our own or use something like Squash. This would require changing all engines to use this API
- use the same approach as in server services — create a service per compression library, a service implementation will just return an error code for any function invocation if the corresponding library is not installed. this way — may be — we could avoid modifying all affected storage engines
Attachments
Issue Links
- blocks
-
MDEV-21877 Enable snappy compression by default for InnoDB page compression
-
- Open
-
- causes
-
MDEV-26762 Compressed table remains accessible without provider after unclean restart
-
- Closed
-
-
MDEV-26773 MariaBackup backup does not work with compression providers
-
- Closed
-
-
MDEV-26774 Compression provider unloading at runtime has no effect but doesn't produce a warning
-
- Closed
-
-
MDEV-26775 Error messages about unavailable compression libraries not returned in diagnostics
-
- Open
-
-
MDEV-26776 mroonga_libgroonga_support_lz4 is set to ON even when lz4 is not available, CREATE behavior changes
-
- Closed
-
-
MDEV-26791 MariaBackup logs compression provider plugins as encryption plugin
-
- Closed
-
-
MDEV-26792 MariaBackup prepare crashes with invalid pointer with compression providers and extra options
-
- Closed
-
-
MDEV-26794 MariaBackup does not recognize added providers upon prepare of incremental backup
-
- Closed
-
-
MDEV-26795 InnoDB writes error messages about compressed tables upon startup
-
- Closed
-
-
MDEV-26888 Fedora 33/34 in the foundation buildbot is missing lzo and bzip2
-
- Closed
-
-
MDEV-26924 document compatibility considerations re. provider plugins
-
- Closed
-
-
MDEV-27887 InnoDB may crash when required compression plugins are not loaded
-
- Confirmed
-
- includes
-
MDEV-22895 Implement server support for making compression library dependencies optional
-
- Closed
-
- relates to
-
MDEV-15048 storage/innobase: Fix cmake compression library detection
-
- Closed
-
-
MDEV-20255 InnoDB LZ4 and LZMA compression algorithms aren't available on Debian 9
-
- Closed
-
-
MDEV-26757 Compression-related tests fail with MSAN errors in buf_page_is_corrupted
-
- Open
-
-
MDEV-26907 innochecksum fails to validate full_crc32 for compressed or encrypted tables
-
- Open
-
-
MDEV-9821 Distribute MariaDB with more compression algorithms in the build
-
- Open
-
-
MDEV-11068 Review which innodb_compression_algorithm to support in binary packages
-
- Closed
-
-
MDEV-13281 Rocksdb doesn't have ZSTD in mariadb 10.2.6
-
- Open
-
-
MDEV-22762 Investigate if using Squash is viable for unifying compression APIs
-
- Stalled
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Link | This issue relates to MDEV-13281 [ MDEV-13281 ] |
Fix Version/s | 10.4 [ 22408 ] |
Labels | gsoc19 |
Fix Version/s | 10.4 [ 22408 ] |
Labels | gsoc19 | gsoc19 gsoc20 |
Link | This issue relates to MDEV-21877 [ MDEV-21877 ] |
Link | This issue blocks MDEV-22310 [ MDEV-22310 ] |
Link |
This issue blocks |
Link |
This issue relates to |
Link | This issue is blocked by MDEV-22762 [ MDEV-22762 ] |
Link |
This issue is blocked by |
Link | This issue blocks MDEV-21877 [ MDEV-21877 ] |
Link | This issue relates to MDEV-21877 [ MDEV-21877 ] |
Labels | gsoc19 gsoc20 | DesignNeeded gsoc19 gsoc20 |
Assignee | Sergei Golubchik [ serg ] | Robert Bindar [ robertbindar ] |
Labels | DesignNeeded gsoc19 gsoc20 | gsoc19 gsoc20 |
Link |
This issue blocks |
Link | This issue blocks MDEV-22310 [ MDEV-22310 ] |
Link |
This issue is blocked by |
Link | This issue is blocked by MDEV-22310 [ MDEV-22310 ] |
Link | This issue relates to MENT-1167 [ MENT-1167 ] |
Link | This issue relates to TODO-2859 [ TODO-2859 ] |
Link | This issue blocks TODO-2859 [ TODO-2859 ] |
Link | This issue relates to TODO-2859 [ TODO-2859 ] |
Link | This issue blocks TODO-2860 [ TODO-2860 ] |
Assignee | Robert Bindar [ robertbindar ] | Sergei Golubchik [ serg ] |
Priority | Major [ 3 ] | Critical [ 2 ] |
Fix Version/s | 10.7 [ 24805 ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Status | Confirmed [ 10101 ] | In Review [ 10002 ] |
Due Date | 2021-09-14 |
Link |
This issue is blocked by |
Link | This issue is blocked by MDEV-22310 [ MDEV-22310 ] |
Link |
This issue includes |
Link |
This issue is blocked by |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Sergei Golubchik [ serg ] | Marko Mäkelä [ marko ] |
Status | Stalled [ 10000 ] | In Review [ 10002 ] |
Assignee | Marko Mäkelä [ marko ] | Sergei Golubchik [ serg ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Assignee | Sergei Golubchik [ serg ] | Elena Stepanova [ elenst ] |
Link | This issue relates to TODO-3118 [ TODO-3118 ] |
Assignee | Elena Stepanova [ elenst ] | Sergei Golubchik [ serg ] |
Assignee | Sergei Golubchik [ serg ] | Elena Stepanova [ elenst ] |
Due Date | 2021-09-14 |
Link | This issue causes TODO-3159 [ TODO-3159 ] |
Link | This issue causes MDEV-26757 [ MDEV-26757 ] |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue causes |
Link | This issue causes MDEV-26775 [ MDEV-26775 ] |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue causes |
Link | This issue causes MDEV-26757 [ MDEV-26757 ] |
Link | This issue relates to MDEV-26757 [ MDEV-26757 ] |
Link |
This issue causes |
Link |
This issue relates to |
Link | This issue relates to MDEV-26907 [ MDEV-26907 ] |
Fix Version/s | 10.7.1 [ 26120 ] | |
Fix Version/s | 10.7 [ 24805 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Assignee | Elena Stepanova [ elenst ] | Sergei Golubchik [ serg ] |
Link |
This issue causes |
Workflow | MariaDB v3 [ 80978 ] | MariaDB v4 [ 133269 ] |
Link | This issue causes MDEV-27887 [ MDEV-27887 ] |
Labels | gsoc19 gsoc20 | Preview_10.7 gsoc19 gsoc20 |
Link |
This issue relates to |
Link |
This issue relates to |
Remote Link | This issue links to "Page (MariaDB Confluence)" [ 36744 ] |
Remote Link | This issue links to "Page (MariaDB Confluence)" [ 36744 ] |
Zendesk Related Tickets | 181586 193884 |
Link | This issue relates to MDEV-22762 [ MDEV-22762 ] |
Link | This issue is blocked by MDEV-22762 [ MDEV-22762 ] |