1. 22 Mar, 2016 1 commit
  2. 18 Mar, 2016 1 commit
    • Nirbhay Choubey's avatar
      MDEV-9401: wsrep_forced_binlog_format with binlog causes crash · 9c89b84d
      Nirbhay Choubey authored
      Some statements are always replicated in STATEMENT binlog format.
      So upon their execution, the current binlog format is temporarily
      switched to STATEMENT even though the session's format is different.
      This state, stored in THD's current_stmt_binlog_format, was getting
      incorrectly masked by wsrep_forced_binlog_format, causing assertions
      and unintended generation of row events.
      
      Backported galera.galera_forced_binlog_format and added a test
      specific to this case.
      9c89b84d
  3. 24 Feb, 2016 7 commits
    • Nirbhay Choubey's avatar
      Skip galera_sync_wait_show.test on non-debug builds. · 01897db1
      Nirbhay Choubey authored
      The test uses a debug feature SHOW PROCEDURE|FUNCTION CODE.
      01897db1
    • Krunal Bauskar's avatar
      - PXC#480: xtrabackup-v2 SST fails with multiple log_bin directives in my.cnf · f67d6fcc
      Krunal Bauskar authored
        If any given variable the xtrabackup-v2 sst script looks for is specified
        multiple times in cnf file then it tend to pick both of them causing
        some of the follow-up command to fail.
      
        Avoid this programatic mistake by honoring only the last variable assigned
        setting as done by mysqld too.
      
        Check https://bugs.launchpad.net/percona-xtradb-cluster/+bug/1362830
      f67d6fcc
    • Krunal Bauskar's avatar
      - PXC#460: wsrep_sst_auth don't work in Percona-XtraDB-Cluster-56-5.6.25-25.12.1.el7 · 0cf66e49
      Krunal Bauskar authored
      Semantics:
      ---------
      
      * Generally end-user will create a separate user with needed
      privileges for
          performing DONOR action.
      * This user credentials are specified using wsrep_sst_auth.
      
      * Along with this user there could be other user(s) created on the
      server
          that sysadmin may use for normal or other operations
      * Credentials for these user(s) can be specified in same
      cluster/server
          cnf file as part of [client] section
      
      When cluster act as DONOR and if wsrep_sst_auth is provided then it
      should
      strictly use it for performing SST based action.
      
      What if end-user has same credentials for performing both SST action
      and
      normal admin work ?
      * Then end-user can simply specify these credentials as part of
      [client]
          section in cnf file and skip providing wsrep_sst_auth.
      
      Issue:
      -----
      
      MySQL client user/password parsing preference order is as follows:
      * command line (through --user/--password)
      * cnf file
      * MYSQL_PWD enviornment variable.
      
      Recent change tried passing sst user password through MYSQL_PWD
      (and user though --user command line param as before).
      
      On the system where-in admin had another user for performing non-SST
      actions,
      credentials for such user were present in cnf file under [client]
      section.
      
      Due to mysql client preference order, SST user name was used (as it
      was
      passed through command line) but password of other user (meant for
      non-SST)
      action was being used as it was passed through cnf file.
      
      Password passed through MYSQL_PWD was completely ignored causing
      user-name/password mismatch.
      
      Solution:
      ---------
      
      * If user has specified credentials for SST then pass them through
      command
          line so that they are used in priority.
      
      (There could be security concern on passing things through command
      line but
         when I tried passing user-name and password through command line to
      mysql
         client and then did ps I saw this
         ./bin/mysql --user=sstuser --password=x xxxxxxxx -S /tmp/n1.sock
      so seems like password is not shown)
      0cf66e49
    • Nirbhay Choubey's avatar
      Update WSREP_PATCH_REVNO. · 0fd9d5a6
      Nirbhay Choubey authored
      0fd9d5a6
    • Nirbhay Choubey's avatar
      1b0d811d
    • Nirbhay Choubey's avatar
      0d58323e
    • Nirbhay Choubey's avatar
      Fix for test failures. · 276d65b3
      Nirbhay Choubey authored
      276d65b3
  4. 23 Feb, 2016 20 commits
  5. 22 Feb, 2016 11 commits