This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new 6f8a57c0260 Update 9.md (#1615)
6f8a57c0260 is described below
commit 6f8a57c0260b16b759a891327b57ec64d64e6081
Author: mfordjody <[email protected]>
AuthorDate: Mon Nov 28 10:07:22 2022 +0800
Update 9.md (#1615)
---
content/zh/docs3-v2/java-sdk/faq/1/9.md | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/content/zh/docs3-v2/java-sdk/faq/1/9.md
b/content/zh/docs3-v2/java-sdk/faq/1/9.md
index b5410392258..ba42c8fdd98 100644
--- a/content/zh/docs3-v2/java-sdk/faq/1/9.md
+++ b/content/zh/docs3-v2/java-sdk/faq/1/9.md
@@ -5,27 +5,21 @@ linkTitle: "1-9 - 读写注册中心服务缓存失败"
weight: 9
---
-## 可能的原因
+### 可能的原因
1. 多个 Dubbo 进程(或其他 Java 进程)使用了同一个缓存文件。
2. 由于缓存文件所在目录的文件系统权限问题,导致读写失败。
3. `dubbo.registry.file` 的值输入错误。
4. 不小心指定了两个注册中心使用同一文件存储。
-{{% pageinfo %}}
-**提示:**
-
+> **提示:**
如未指定 `dubbo.registry.file`,则注册中心服务缓存路径默认为 `~/.dubbo` 目录
-
(其中 `~` 为用户的 HOME 目录)
-{{% /pageinfo %}}
-## 排查和解决步骤
+### 排查和解决步骤
1. 检查 `dubbo.registry.file` 的值有无拼写错误。
2. 检查是否有其它进程使用了同一份缓存文件。
3. 如果指定了 `dubbo.registry.file`,那么检查下它在文件系统的权限。
4. 排查是否出现了“两个注册中心使用了同一文件存储” 这一情况,如果出现则调整。
-## 另请参阅
+> 另请参阅
[注册中心的配置项参考手册](https://dubbo.apache.org/zh/docs3-v2/java-sdk/reference-manual/config/properties/#registry)
-
-<p style="margin-top: 3rem;"> </p>
\ No newline at end of file