Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      https://www.percona.com/doc/percona-xtradb-cluster/5.7/wsrep-system-index.html#wsrep_sync_wait and https://www.percona.com/doc/percona-xtradb-cluster/5.6/wsrep-system-index.html#wsrep_sync_wait report wsrep_sync_wait as a session variable only, but in fact it also has global scope:

      [root@marcelo-altmann-blog-pxc-1 ~]# mysql -u root -psekret -e "SET GLOBAL wsrep_sync_wait = 2"
      mysql: [Warning] Using a password on the command line interface can be insecure.
      [root@marcelo-altmann-blog-pxc-1 ~]# mysql -u root -psekret -e "SHOW GLOBAL VARIABLES LIKE 'wsrep_sync_wait'"
      mysql: [Warning] Using a password on the command line interface can be insecure.
      +-----------------+-------+
      | Variable_name | Value |
      +-----------------+-------+
      | wsrep_sync_wait | 2 |
      +-----------------+-------+
      [root@marcelo-altmann-blog-pxc-1 ~]# mysql -u root -psekret -e "SHOW VARIABLES LIKE 'wsrep_sync_wait'"
      mysql: [Warning] Using a password on the command line interface can be insecure.
      +-----------------+-------+
      | Variable_name | Value |
      +-----------------+-------+
      | wsrep_sync_wait | 2 |
      +-----------------+-------+
      

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                przemyslaw.malkowski@percona.com Przemyslaw Malkowski
                Reporter:
                marcelo.altmann Marcelo Altmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: