1
0
mirror of https://github.com/minio/docs.git synced 2025-07-30 07:03:26 +03:00

New flag to set site replication to synchronous (#826)

Document new flag for `mc admin replicate update` to enable/disable
synchronous site replication. Continue to recommend default async
replication due to increased write latency with sync.

Adapt/reuse the existing description of async vs sync from bucket
replication as an include.

Staged

http://192.241.195.202:9000/staging/DOCS-790/linux/html/operations/install-deploy-manage/multi-site-replication.html#synchronous-vs-asynchronous-replication

http://192.241.195.202:9000/staging/DOCS-790/linux/html/reference/minio-mc-admin/mc-admin-replicate.html#syntax

http://192.241.195.202:9000/staging/DOCS-790/linux/html/administration/bucket-replication.html#synchronous-vs-asynchronous-replication

Fixes https://github.com/minio/docs/issues/790
This commit is contained in:
Andrea Longo
2023-04-20 15:54:05 -06:00
committed by GitHub
parent e7db29ff03
commit ea85cce9a9
4 changed files with 42 additions and 20 deletions

View File

@ -80,6 +80,9 @@ Syntax
:fullpath:
Create or expand a site replication configuration.
The configuration uses asynchronous site replication by default, as MinIO recommends.
If your circumstances require synchronous site replication, complete the configuration, then use :mc-cmd:`mc admin replicate update --sync`.
.. tab-set::
@ -176,6 +179,13 @@ Syntax
The new endpoint or URL to associate with the peer site.
.. mc-cmd:: --sync
:optional:
Enable or disable synchronous site replication.
Available values are ``enable`` and ``disable``.
If not defined, MInIO uses asynchronous site replication.
.. mc-cmd:: rm
:fullpath:
@ -306,7 +316,7 @@ Syntax
minio1 \
--bucket images
Display the site repliction status for the setting for a user, ``janedoe``, across sites for a site replication configuration that contains the site ``minio1``.
Display the site replication status for the setting for a user, ``janedoe``, across sites for a site replication configuration that contains the site ``minio1``.
.. code-block:: shell
@ -348,7 +358,7 @@ Syntax
.. mc-cmd:: --bucket
:optional:
Display the replciation status of a specific buckt by inlcuding the bucket name after the flag.
Display the replication status of a specific bucket by including the bucket name after the flag.
.. mc-cmd:: --groups
:optional:
@ -445,4 +455,4 @@ Global Flags
.. include:: /includes/common-minio-mc.rst
:start-after: start-minio-mc-globals
:end-before: end-minio-mc-globals
:end-before: end-minio-mc-globals