You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/12/07 12:26:11 UTC

[GitHub] [servicecomb-service-center] jasononion commented on a change in pull request #773: Syncer optimization: replace slice with channel in the implemention of queue

jasononion commented on a change in pull request #773:
URL: https://github.com/apache/servicecomb-service-center/pull/773#discussion_r537466229



##########
File path: syncer/README-ZH.md
##########
@@ -57,6 +57,12 @@ $ go build
 - cluster-port: 当mode为“cluster”时,Syncer集群成员之间进行通信的端口
 - node:当mode为“cluster”时,syncer集群成员名称。
 
+###### 同步模式说明
+- 增量同步:默认的同步模式。
+- 全量同步:每个syncer启动加入时自动触发一次,也可以在增量同步异常告警之后手动调用接口触发。
+```bash
+$ curl http://0.0.0.0:30300/v1/syncer/full-synchronization

Review comment:
       这里的ip地址 不能写0.0.0.0

##########
File path: syncer/README.md
##########
@@ -80,8 +80,19 @@ $ go build
 
   Member name of Syncer cluster when mode is set to be "cluster".
   
+###### Synchronization Mode Description
+- Incremental Synchronization:
+
+  Default synchronization mode.
   
+- Full Synchronization:
 
+  A full synchronization is automatically triggered when each syncer starts to join, 
+  or it can be triggered manually by calling the interface after an exception occurs in the incremental synchronization.
+
+```bash
+$ curl http://0.0.0.0:30300/v1/syncer/full-synchronization

Review comment:
       同上




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org