mirror of
https://github.com/schoebel/mars
synced 2025-02-28 18:40:42 +00:00
user-manual: rework consistency operations
This commit is contained in:
parent
b3fa92bd4c
commit
364dfc40e6
@ -19563,47 +19563,31 @@ $res
|
|||||||
\emph on
|
\emph on
|
||||||
designated
|
designated
|
||||||
\emph default
|
\emph default
|
||||||
primary must exist.
|
primary must exist, and it must be reachable over network.
|
||||||
When having
|
|
||||||
\begin_inset Formula $k>2$
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
replicas, no split brain must exist (otherwise, or when
|
|
||||||
\family typewriter
|
|
||||||
invalidate
|
|
||||||
\family default
|
|
||||||
does not work in case of
|
|
||||||
\begin_inset Formula $k=2$
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
, use the
|
|
||||||
\family typewriter
|
|
||||||
leave-resource
|
|
||||||
\family default
|
|
||||||
;
|
|
||||||
\family typewriter
|
|
||||||
join-resource
|
|
||||||
\family default
|
|
||||||
method described in section
|
|
||||||
\begin_inset CommandInset ref
|
|
||||||
LatexCommand ref
|
|
||||||
reference "subsec:Split-Brain-Resolution"
|
|
||||||
|
|
||||||
\end_inset
|
|
||||||
|
|
||||||
).
|
|
||||||
\end_layout
|
\end_layout
|
||||||
|
|
||||||
\begin_layout Plain Layout
|
\begin_layout Plain Layout
|
||||||
|
|
||||||
\size scriptsize
|
\size scriptsize
|
||||||
Postcondition: the local disk is marked as inconsistent, and a fast fullsync
|
Postcondition: the local disk is marked as
|
||||||
from the designated primary will start after a while.
|
|
||||||
Notice that
|
|
||||||
\family typewriter
|
\family typewriter
|
||||||
marsadm {pause,resume}-sync
|
InConsistent
|
||||||
\family default
|
\family default
|
||||||
will influence whether the sync really starts.
|
, and a fast fullsync from the designated primary will start after a while.
|
||||||
|
Any
|
||||||
|
\emph on
|
||||||
|
local
|
||||||
|
\emph default
|
||||||
|
split brain (deviation from the designated primary) will be resolved, but
|
||||||
|
any
|
||||||
|
\emph on
|
||||||
|
other
|
||||||
|
\emph default
|
||||||
|
split brain at other secondaries will
|
||||||
|
\emph on
|
||||||
|
not
|
||||||
|
\emph default
|
||||||
|
be affected.
|
||||||
When the fullsync has finished successfully, the local node will be consistent
|
When the fullsync has finished successfully, the local node will be consistent
|
||||||
again.
|
again.
|
||||||
\end_layout
|
\end_layout
|
||||||
@ -19762,6 +19746,19 @@ marked
|
|||||||
\end_inset
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
|
\size scriptsize
|
||||||
|
THIS IS HIGLY DANGEROUS FOR DATA CONSISTENCY!
|
||||||
|
\end_layout
|
||||||
|
|
||||||
|
\begin_layout Plain Layout
|
||||||
|
\begin_inset Graphics
|
||||||
|
filename images/MatieresToxiques.png
|
||||||
|
lyxscale 50
|
||||||
|
scale 17
|
||||||
|
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\size scriptsize
|
\size scriptsize
|
||||||
ONLY USE THIS IF YOU REALLY KNOW WHAT YOU ARE DOING!
|
ONLY USE THIS IF YOU REALLY KNOW WHAT YOU ARE DOING!
|
||||||
\begin_inset Newline newline
|
\begin_inset Newline newline
|
||||||
|
Loading…
Reference in New Issue
Block a user