diff --git a/docs-2.0/3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md b/docs-2.0/3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md index 4c62c67c737..0497824671e 100644 --- a/docs-2.0/3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md +++ b/docs-2.0/3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md @@ -106,6 +106,7 @@ PROP REBUILD RECOVER REMOVE +RESTART RETURN REVERSELY REVOKE diff --git a/docs-2.0/synchronization-and-migration/replication-between-clusters.md b/docs-2.0/synchronization-and-migration/replication-between-clusters.md index 4c87b62c11a..ebab9200fd3 100644 --- a/docs-2.0/synchronization-and-migration/replication-between-clusters.md +++ b/docs-2.0/synchronization-and-migration/replication-between-clusters.md @@ -302,6 +302,14 @@ The test environment for the operation example in this topic is as follows: +-------------+ ``` +## Stop/Restart data synchronization + +The listener continuously sends the WALs to the drainer during data synchronization. + +To stop data synchronization, run the `stop sync` command. The listener stops sending the WALs to the drainer. + +To restart data synchronization, run the `restart sync` command. The listener sends the WALs accumulated during the period when the synchronization is stopped to the drainer. If the WALs are lost, the listener pulls the snapshot from the primary cluster and synchronizes data again. + ## Switch between primary and secondary clusters To migrate data or implement disaster recovery, manually switch between the primary and secondary clusters.