From 9b220ea802f3a1e5a26f7a218d33a1c9d3745565 Mon Sep 17 00:00:00 2001 From: lishaoheng <133954629+gtahoo@users.noreply.github.com> Date: Thu, 25 Jan 2024 12:05:50 +0800 Subject: [PATCH] fix #391 : Document Error - Java Client & HA (#394) * fix browser legacy-upload file size limit. * fix Document Error --- .../5.developer-manual/3.server-tools/1.data-import.md | 6 +++++- .../5.developer-manual/4.client-tools/3.java-client.md | 2 +- .../5.developer-manual/3.server-tools/1.data-import.md | 3 +++ .../5.developer-manual/4.client-tools/3.java-client.md | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/en-US/source/5.developer-manual/3.server-tools/1.data-import.md b/docs/en-US/source/5.developer-manual/3.server-tools/1.data-import.md index 721e774e88..89332af575 100644 --- a/docs/en-US/source/5.developer-manual/3.server-tools/1.data-import.md +++ b/docs/en-US/source/5.developer-manual/3.server-tools/1.data-import.md @@ -380,7 +380,11 @@ If the user and password are valid, and the specified graph exists, the import t ## 6. Online full import -Online full import can be used to import a batch of files into an already running TuGraph instance. The execution method is to send an import request to the running TuGraph instance. After receiving the request, the instance first uses offline import (V3) to import the data into a temporary db, and then creates a new subgraph in the instance and stores the data in the temporary db. The files are migrated to the new subgraph, and finally the instance's metadata is refreshed. Compared with online incremental import, online full import has higher performance and is suitable for processing large-scale data. The `lgraph_import --online true --full true` option enables the import tool to fully import online. Like `offline mode`, online mode has its own set of command line options, which can be printed using the `-h, --help` option: +Online full import can be used to import a batch of files into an already running TuGraph instance. The execution method is to send an import request to the running TuGraph instance. After receiving the request, the instance first uses offline import (V3) to import the data into a temporary db, and then creates a new subgraph in the instance and stores the data in the temporary db. The files are migrated to the new subgraph, and finally the instance's metadata is refreshed. Compared with online incremental import, online full import has higher performance and is suitable for processing large-scale data. The `lgraph_import --online true --full true` option enables the import tool to fully import online. + +Note: Online full import is not supported in HA (High Availability) mode for now. + +Like `offline mode`, online mode has its own set of command line options, which can be printed using the `-h, --help` option: ```shell $ lgraph_import --online true --full true -h diff --git a/docs/en-US/source/5.developer-manual/4.client-tools/3.java-client.md b/docs/en-US/source/5.developer-manual/4.client-tools/3.java-client.md index 8677a59265..54bf90e2e9 100644 --- a/docs/en-US/source/5.developer-manual/4.client-tools/3.java-client.md +++ b/docs/en-US/source/5.developer-manual/4.client-tools/3.java-client.md @@ -13,7 +13,7 @@ sh local_build.sh Introduce dependencies ```java -import com.alipay.tugraph.TuGraphDbRpcClient; +import com.antgroup.tugraph.TuGraphDbRpcClient; ``` #### 2.1.1.Instantiate a single node client object diff --git a/docs/zh-CN/source/5.developer-manual/3.server-tools/1.data-import.md b/docs/zh-CN/source/5.developer-manual/3.server-tools/1.data-import.md index 37914b5478..1dbe2bc882 100644 --- a/docs/zh-CN/source/5.developer-manual/3.server-tools/1.data-import.md +++ b/docs/zh-CN/source/5.developer-manual/3.server-tools/1.data-import.md @@ -381,6 +381,9 @@ Available command line options: 实例接到请求后先使用离线导入(V3)的方式将数据导入一个临时的db中,然后在实例中新建子图并将临时db的数据文件迁移到新子图中,最后刷新实例的元数据。 相比在线增量导入,在线全量导入的性能更高,适合处理大规模数据。 `lgraph_import --online true --full true`选项使导入工具能够在线全量导入。 + +注:HA模式下,暂时不支持在线全量导入。 + 与`离线模式`一样,在线模式有自己的命令行选项集,可以使用`-h,--help`选项进行打印输出: ```shell diff --git a/docs/zh-CN/source/5.developer-manual/4.client-tools/3.java-client.md b/docs/zh-CN/source/5.developer-manual/4.client-tools/3.java-client.md index 15e979eb3c..df0446d7e3 100644 --- a/docs/zh-CN/source/5.developer-manual/4.client-tools/3.java-client.md +++ b/docs/zh-CN/source/5.developer-manual/4.client-tools/3.java-client.md @@ -12,7 +12,7 @@ sh local_build.sh ### 2.1.实例化client对象 引入依赖 ```java -import com.alipay.tugraph.TuGraphDbRpcClient; +import com.antgroup.tugraph.TuGraphDbRpcClient; ``` #### 2.1.1.实例化单节点client对象