-
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
Open
kirjaamo
wants to merge
2
commits into
master
Choose a base branch
from
split-wsrep_provider_options
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Issue #439 #442
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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,56 @@ 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: 11.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 | ||
|
||
wsrep-on=ON | ||
wsrep-cluster-address=gcomm:// | ||
[email protected]_PROVIDER | ||
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 +1431,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 | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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 comment
The reason will be displayed to describe this comment to others. Learn more.
ref: https://jira.mariadb.org/browse/MDEV-22570