Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 5.5.38-galera, 10.0.12-galera
    • Fix Version/s: 5.5.41-galera
    • Component/s: Galera, Galera SST
    • Labels:

      Description

      Many Galera scripts assumes that my_print_defaults and other MariaDB
      binaries are in PATH. This might not be true.

      • We can't assume that "mysql" is in the path. We have to search for this like
        we do with my_print_defaults !
      • Checking for version number doesn't guarantee that the binaries are
        compiled with galera.
        Instead you should check if a binary supports any of the required wresp
        options.

      You can do this with:
      mysql --test-some-option --version
      This will fail with an error if the option is not supported.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            nirbhay_c Nirbhay Choubey added a comment -

            Hi Jan Lindström!

            • Besides PATH, the only place we look under for client tools and SST scripts is $basedir/bin.
              This path, however, is already prepended by (wsrep-)mysqld before it invokes SST scripts.
            • Regarding "binaries compiled with wsrep" : Since the state transfer is an automatic process
              triggered by server, I don't think any explicit check is needed for wsrep-support.

            Said that, I do not see there is anything to work on in this regard.

            Show
            nirbhay_c Nirbhay Choubey added a comment - Hi Jan Lindström ! Besides PATH, the only place we look under for client tools and SST scripts is $basedir/bin. This path, however, is already prepended by (wsrep-)mysqld before it invokes SST scripts. Regarding "binaries compiled with wsrep" : Since the state transfer is an automatic process triggered by server, I don't think any explicit check is needed for wsrep-support. Said that, I do not see there is anything to work on in this regard.
            Hide
            nirbhay_c Nirbhay Choubey added a comment -

            See my comment above.

            Show
            nirbhay_c Nirbhay Choubey added a comment - See my comment above.

              People

              • Assignee:
                nirbhay_c Nirbhay Choubey
                Reporter:
                jplindst Jan Lindström
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: