Uploaded image for project: 'Percona Server for MySQL'
  1. Percona Server for MySQL
  2. PS-7138

Correct file reference for ps-admin broken in tar.gz package

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0.20-11
    • Component/s: Packaging
    • Labels:
      None

      Description

      I am using ps-admin to enable rocksdb and it fails.

      I use the following packages:

      https://www.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.19-10/binary/tarball/Percona-Server-8.0.19-10-Linux.x86_64.ssl102.deb.tar.gz

       

      The script is looking for ha_rocksdb.so in the following locations:

       

      if [ ${ENABLE_ROCKSDB} = 1 ]; then
      printf "Checking if RocksDB plugin is available for installation ...\n"
      for ha_rocksdb_loc in "${SCRIPT_PWD%/*}/lib/mysql/plugin" "/usr/lib64/mysql/plugin" "/usr/lib/mysql/plugin"; do
      if [ -r "${ha_rocksdb_loc}/ha_rocksdb.so" ]; then

       

      But

      the file is located in 

      "${SCRIPT_PWD%/*}/lib/plugin/ha_rocksdb.so"

       

        Smart Checklist

          Attachments

            Activity

              People

              Assignee:
              evgeniy.patlan Evgeniy Patlan
              Reporter:
              vadimtk Vadim Tkachenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 2 hours
                  2h