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

libgalera_smm.so moved from lib/ to lib/galera without documentation.

Details

    Description

      In mariadb 10.0.x tar.gz distros libgalera_smm.so located in lib/libgalera_smm.so
      But at least in mariadb 10.1.11(I suspect all 10.1.x) it's moved to lib/galera/libgalera_smm.so . There is no documentation for this change as well as error log doesn't contain any warnings.

      Attachments

        Activity

          Does it cause any real problems? As far as I can see, there is a symlink

          lib/libgalera_smm.so -> galera/libgalera_smm.so

          Still, nirbhay_c, please check if it is expected, and if so, if it should be documented somewhere.

          elenst Elena Stepanova added a comment - Does it cause any real problems? As far as I can see, there is a symlink lib/libgalera_smm.so -> galera/libgalera_smm.so Still, nirbhay_c , please check if it is expected, and if so, if it should be documented somewhere.

          dbart Hi! Did we change/update the library path in the script that packs it in server bintar?

          nirbhay_c Nirbhay Choubey (Inactive) added a comment - dbart Hi! Did we change/update the library path in the script that packs it in server bintar?

          nirbhay_c: the packages that the libgalera_smm.so is extracted from have the library at /usr/lib*/galera/libgalera_smm.so and I didn't change it.

          The glibc_214 bintars do have a symlink under /usr/lib*/, but the other bintars do not.

          Let me know what should be done and I'll make the necessary adjustments to the location. Thanks.

          dbart Daniel Bartholomew added a comment - nirbhay_c : the packages that the libgalera_smm.so is extracted from have the library at /usr/lib*/galera/libgalera_smm.so and I didn't change it. The glibc_214 bintars do have a symlink under /usr/lib*/, but the other bintars do not. Let me know what should be done and I'll make the necessary adjustments to the location. Thanks.
          nirbhay_c Nirbhay Choubey (Inactive) added a comment - - edited

          dbart

          Let me know what should be done and I'll make the necessary adjustments to the location. Thanks.

          Not sure. I am trying to figure out what exactly triggered this change.

          • mariadb-10.1.10-linux-x86_64/lib/libgalera_smm.so
          • mariadb-10.1.11-linux-x86_64/lib/galera/libgalera_smm.so
          • mariadb-10.1.12-linux-x86_64/lib/galera/libgalera_smm.so
          • mariadb-10.1.10-linux-x86_64/lib/libgalera_smm.so

          Looks the like change occurred on 10.1.11 release, but IIRC the directory structure for galera packages did not change around that release.

          nirbhay_c Nirbhay Choubey (Inactive) added a comment - - edited dbart Let me know what should be done and I'll make the necessary adjustments to the location. Thanks. Not sure. I am trying to figure out what exactly triggered this change. mariadb-10.1.10-linux-x86_64/lib/libgalera_smm.so mariadb-10.1.11-linux-x86_64/lib/galera/libgalera_smm.so mariadb-10.1.12-linux-x86_64/lib/galera/libgalera_smm.so mariadb-10.1.10-linux-x86_64/lib/libgalera_smm.so Looks the like change occurred on 10.1.11 release, but IIRC the directory structure for galera packages did not change around that release.

          Both locations are fine with me, its just we have to ensure that the file location does not change with release.

          nirbhay_c Nirbhay Choubey (Inactive) added a comment - Both locations are fine with me, its just we have to ensure that the file location does not change with release.

          I think the best path forward will be to unify the location between the bintar, rpm, and deb packages, so in the bintars the location going forward will remain lib/galera/libgalera_smm.so with a symlink in the lib/ directory that points to it. I've implemented this for the MariaDB Galera Cluster 10.0.24 release coming out today (and I've made a note of it in the release notes). I've also added a note about the change to: https://mariadb.com/kb/en/getting-started-with-mariadb-galera-cluster/

          dbart Daniel Bartholomew added a comment - I think the best path forward will be to unify the location between the bintar, rpm, and deb packages, so in the bintars the location going forward will remain lib/galera/libgalera_smm.so with a symlink in the lib/ directory that points to it. I've implemented this for the MariaDB Galera Cluster 10.0.24 release coming out today (and I've made a note of it in the release notes). I've also added a note about the change to: https://mariadb.com/kb/en/getting-started-with-mariadb-galera-cluster/

          People

            nirbhay_c Nirbhay Choubey (Inactive)
            bradnitskid Dzmitry Bradnitski
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.