Skip to content

Commit

Permalink
PXC-4492 Investigate and document the intention of the wsrep_preorder…
Browse files Browse the repository at this point in the history
…ed variable (#176)

modified:   docs/wsrep-system-index.md
  • Loading branch information
alina-derkach-oaza authored Sep 19, 2024
1 parent 6870aa8 commit eb89b4c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 355 deletions.
168 changes: 0 additions & 168 deletions Makefile

This file was deleted.

23 changes: 13 additions & 10 deletions docs/wsrep-system-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -666,20 +666,23 @@ when the node tries to join again but the change will be undone.
| Dynamic: | Yes |
| Default Value: | ``OFF`` |

This variable has been announced as deprecated in `5.7.24-31.33`. Defines whether the node should use transparent handling
of preordered replication events (like replication from traditional source).
By default, this is disabled.
This variable has been announced as deprecated in `5.7.24-31.33`.

Defines whether the node should use transparent handling of preordered replication events (like replication from traditional source). By default, this variable is disabled.

If you enable this variable, such events will be applied locally first
before being replicated to other nodes in the cluster.
This could increase the rate at which they can be processed,
which would be otherwise limited by the latency
between the nodes in the cluster.
If you enable this variable, preordered replication events are first applied locally before the events are replicated to other nodes. This behavior could increase the rate at which they can be processed, which would be otherwise limited by the latency between the nodes in the cluster.

Preordered events should not interfere with events that originate on the local
node. Therefore, you should not run local update queries on a table that is
Preordered events should not interfere with events that originate on the local node. Do not run local update queries on a table that is
also being updated through asynchronous replication.

#### Limitations

* `Cluster instabilities`: Due to Galera’s asynchronous processing of preordered events and its internal architecture, any network issues or changes in cluster configuration (such as nodes joining or leaving) may cause unrecoverable disruptions in the preordered events stream processing. These disruptions can result in a node self-aborting and leaving the cluster.

* `Writeset certification process`: The simplified writeset certification process, which assumes events are already preordered, imposes a restriction that the `wsrep_preordered` setting can only be enabled when `wsrep_slave_threads=1`.

Due to these limitations, this variable must only be used for quickly loading data and must be disabled once the data is loaded.

### `wsrep_provider`
| Option | Description |
| -------------- | ------------------ |
Expand Down
155 changes: 0 additions & 155 deletions make.bat

This file was deleted.

21 changes: 0 additions & 21 deletions netlify.toml

This file was deleted.

1 change: 0 additions & 1 deletion runtime.txt

This file was deleted.

0 comments on commit eb89b4c

Please sign in to comment.