You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/10/11 07:16:04 UTC

[shardingsphere] branch master updated: Add data sources force start document (#21487)

This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new e4aaed918bb Add data sources force start document (#21487)
e4aaed918bb is described below

commit e4aaed918bb4cbac6e8d287abac8880d593317c7
Author: ZhangCheng <fl...@outlook.com>
AuthorDate: Tue Oct 11 15:15:54 2022 +0800

    Add data sources force start document (#21487)
---
 .../content/quick-start/shardingsphere-proxy-quick-start.cn.md    | 8 ++++++++
 .../content/quick-start/shardingsphere-proxy-quick-start.en.md    | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/docs/document/content/quick-start/shardingsphere-proxy-quick-start.cn.md b/docs/document/content/quick-start/shardingsphere-proxy-quick-start.cn.md
index d40d95d9b7f..6b10cb002d8 100644
--- a/docs/document/content/quick-start/shardingsphere-proxy-quick-start.cn.md
+++ b/docs/document/content/quick-start/shardingsphere-proxy-quick-start.cn.md
@@ -60,6 +60,14 @@ sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh
 sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh ${proxy_port} ${proxy_conf_directory}
 ```
 
+* 强制启动
+
+```bash
+sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh -f
+```
+
+使用 `-f` 参数强制启动 Proxy,该参数会忽略启动期间异常的数据源,强行启动 Proxy,用户可以在 Proxy 启动完成后,通过 DistSQL 移除异常数据源。
+
 5. 使用 ShardingSphere-Proxy
 
 执行 MySQL / PostgreSQL / openGauss 的客户端命令直接操作 ShardingSphere-Proxy 即可。
diff --git a/docs/document/content/quick-start/shardingsphere-proxy-quick-start.en.md b/docs/document/content/quick-start/shardingsphere-proxy-quick-start.en.md
index 8a07fa633a5..4a2ce69b1c8 100644
--- a/docs/document/content/quick-start/shardingsphere-proxy-quick-start.en.md
+++ b/docs/document/content/quick-start/shardingsphere-proxy-quick-start.en.md
@@ -60,6 +60,14 @@ The default port is `3307`, while the default profile directory is `%SHARDINGSPH
 sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh ${proxy_port} ${proxy_conf_directory}
 ```
 
+* Force start
+
+```bash
+sh %SHARDINGSPHERE_PROXY_HOME%/bin/start.sh -f
+```
+
+Use the `-f` parameter to force start the Proxy. This parameter will ignore the abnormal data source during startup and start the Proxy forcibly. After the Proxy is started, you can remove the abnormal data source by DistSQL.
+
 5. Use ShardingSphere-Proxy.
 
 Use MySQL or PostgreSQL or openGauss client to connect ShardingSphere-Proxy.