Skip to content

Commit

Permalink
fix-for-cluster-sync (#1611)
Browse files Browse the repository at this point in the history
  • Loading branch information
abby-cyber authored Sep 15, 2022
1 parent 77f1ae1 commit 8e424fd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ The test environment for the operation example in this topic is as follows:
5. Use `replication_basketballplayer` and configure the drainer service.

```ngql
nebula> USE replication_basketballplayer;
# Configure the drainer service.
nebula> ADD DRAINER 192.168.10.104:9889;
Expand All @@ -236,14 +238,13 @@ The test environment for the operation example in this topic is as follows:
+-------------------------+----------+
```

6. Set the target graph space as read-only to avoid data inconsistency.
6. Set the target graph space `replication_basketballplayer` as read-only to avoid data inconsistency.

!!! note

This step only sets the target graph space, not other graph spaces.

```ngql
nebula> USE replication_basketballplayer;
# Set the working graph space as read-only.
nebula> SET VARIABLES read_only=true;
Expand Down

0 comments on commit 8e424fd

Please sign in to comment.