Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-20255

InnoDB LZ4 and LZMA compression algorithms aren't available on Debian 9

    XMLWordPrintable

Details

    Description

      Server version: 10.3.17-MariaDB-1:10.3.17+maria~stretch-log mariadb.org binary distribution
       
      MariaDB [(none)]> set global innodb_compression_algorithm='lz4';
      ERROR 1231 (42000): Variable 'innodb_compression_algorithm' can't be set to the value of 'lz4'
       
      MariaDB [(none)]> show global status like '%have%';
      +------------------------+-------+
      | Variable_name          | Value |
      +------------------------+-------+
      | Innodb_have_lz4        | OFF   |
      | Innodb_have_lzo        | OFF   |
      | Innodb_have_lzma       | OFF   |
      | Innodb_have_bzip2      | OFF   |
      | Innodb_have_snappy     | OFF   |
      | Innodb_have_punch_hole | ON    |
      +------------------------+-------+
       
      2019-08-05 15:20:02 0 [ERROR] InnoDB: innodb_compression_algorithm = 2 unsupported.
      InnoDB: liblz4 is not installed. 
      

      But lz4 is installed on the system and the server appears to have been compiled with it:

      # ls -l /usr/lib/x86_64-linux-gnu/liblz4.so.1
      lrwxrwxrwx 1 root root 15 Feb 17  2016 /usr/lib/x86_64-linux-gnu/liblz4.so.1 -> liblz4.so.1.7.1
      # ldd /usr/sbin/mysqld | grep lz4
      	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f4c87b9a000)
      

      Attachments

        Issue Links

          Activity

            People

              illuusio Tuukka Pasanen
              tanj Guillaume Lefranc
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.