-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #439 #442
base: master
Are you sure you want to change the base?
Issue #439 #442
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,7 @@ and an explanation. | |
:header: "|br| Option", "|br| Default Value", "|br| Global ", "|br| Dynamic" | ||
:widths: 30, 30, 12, 12 | ||
":ref:`innodb-wsrep-applier-lock-wait-timeout <innodb-wsrep-applier-lock-wait-timeout>`", "``0``", "Yes", "Yes" | ||
":ref:`plugin_wsrep_provider <plugin_wsrep_provider>`", "ON", "Yes", "" | ||
":ref:`wsrep_applier_FK_failure_retries <wsrep_applier_FK_failure_retries>`", "``1``", "Yes", "Yes" | ||
":ref:`wsrep_auto_increment_control <wsrep_auto_increment_control>`", "``ON``", "Yes", "" | ||
":ref:`wsrep_causal_reads <wsrep_causal_reads>`", "``OFF``", "", "" | ||
|
@@ -183,6 +184,58 @@ You can execute the following ``SHOW VARIABLES`` statement to see how this varia | |
| innodb-wsrep-applier-lock-wait-timeout | 10 | | ||
+----------------------------------------+-------+ | ||
|
||
|
||
.. _`plugin_wsrep_provider`: | ||
.. rst-class:: section-heading | ||
.. rubric:: ``plugin_wsrep_provider`` | ||
|
||
.. index:: | ||
pair: Parameters; plugin_wsrep_provider | ||
|
||
Defines optional settings the node passes to the wsrep Provider. | ||
|
||
.. csv-table:: | ||
:class: doc-options | ||
|
||
"Command-line Format", "``--plugin_wsrep_provider``" | ||
"System Variable", "``plugin_wsrep_provider``" | ||
"Variable Scope", "Global" | ||
"Dynamic Variable", "" | ||
"Permitted Values", "String" | ||
"Default Value", "ON" | ||
"Valied Values", "ON, OFF" | ||
"Initial Version", "MySQL-wsrep: 8.4.2, MariaDB: 4.x" | ||
|
||
When this option is enabled, the node loads the wsrep Provider configuration options through the ``plugin_wsrep_provider`` plugin, instead of using ``wsrep_provider_options`` options. ``wsrep_provider_options`` options can no longer be used. | ||
|
||
The configuration required to use ``plugin_wsrep_provider``: | ||
|
||
.. code-block:: mysql | ||
|
||
[mysqld.1] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do you say mysqld.1? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed. It came from the original example. See the link in the comment below. |
||
wsrep-on=ON | ||
wsrep-cluster-address=gcomm:// | ||
[email protected]_PROVIDER | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Where did you get this from? I have not personally used this, but might have to give it a go There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
binlog-format=ROW | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wonder if we must mention this now, 8.4 has deprecated this, see https://dev.mysql.com/doc/refman/8.4/en/replication-options-binary-log.html#sysvar_binlog_format There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Removed |
||
plugin-wsrep-provider=ON | ||
|
||
Often it is not optimal to use a system variable, that is, one large string, for a long list of options. Instead, it would be better to separate the different options into separate cluster system variables. | ||
|
||
When this option is disabled, the node loads the wsrep Provider configuration options from ``wsrep_provider_options`` options. | ||
|
||
For more information on the wsrep Provider options, see :doc:`galera-parameters` and :ref:`wsrep_provider_options <wsrep_provider_options>`. | ||
|
||
.. code-block:: mysql | ||
|
||
SHOW VARIABLES LIKE 'plugin_wsrep_provider'; | ||
|
||
+------------------------+-----------------------------------------------+ | ||
| Variable_name | Value | | ||
+------------------------+-----------------------------------------------+ | ||
| plugin_wsrep_provider | ON | | ||
+------------------------+-----------------------------------------------+ | ||
|
||
|
||
.. _`wsrep_applier_FK_failure_retries`: | ||
.. rst-class:: section-heading | ||
.. rubric:: ``wsrep_applier_FK_failure_retries`` | ||
|
@@ -1380,7 +1433,7 @@ For example, you can use :ref:`gcache.size <gcache.size>` to define how large a | |
|
||
.. note:: All ``wsrep_provider_options`` settings need to be specified on a single line. In case of multiple instances of ``wsrep_provider_options``, only the last one is used. | ||
|
||
For more information on the wsrep Provider options, see :doc:`galera-parameters`. | ||
For more information on the wsrep Provider options, see :doc:`galera-parameters` and :ref:`plugin_wsrep_provider <plugin_wsrep_provider>`. | ||
|
||
.. code-block:: mysql | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no such MariaDB. It is 11.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@byte Fixed.