This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site-v2
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/asf-site-v2 by this push:
new 84a6b07227 deploy: 7add1876d5ca5a9853b022404b0e9d2a074cd4d8
84a6b07227 is described below
commit 84a6b07227124cfb6e40c2a602060ec759449123
Author: AlbumenJ <[email protected]>
AuthorDate: Sun Apr 9 23:28:35 2023 +0000
deploy: 7add1876d5ca5a9853b022404b0e9d2a074cd4d8
---
sitemap.xml | 2 +-
.../docsv2.7/user/examples/fault-tolerent-strategy/index.html | 10 +++++-----
zh-cn/docsv2.7/user/examples/index.xml | 3 ++-
zh-cn/sitemap.xml | 2 +-
4 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/sitemap.xml b/sitemap.xml
index 1fb7186ce8..f92278f25e 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-04-10T07:21:26+08:00</lastmod></sitemap><sitemap><loc>https://dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-04-03T22:00:19+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://dubbo.apache.org/zh-cn/sitemap.xml</loc><lastmod>2023-04-10T07:24:54+08:00</lastmod></sitemap><sitemap><loc>https://dubbo.apache.org/en/sitemap.xml</loc><lastmod>2023-04-03T22:00:19+08:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
diff --git a/zh-cn/docsv2.7/user/examples/fault-tolerent-strategy/index.html
b/zh-cn/docsv2.7/user/examples/fault-tolerent-strategy/index.html
index a8c3e1e6ae..22471693a9 100644
--- a/zh-cn/docsv2.7/user/examples/fault-tolerent-strategy/index.html
+++ b/zh-cn/docsv2.7/user/examples/fault-tolerent-strategy/index.html
@@ -1,4 +1,4 @@
-<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://dubbo.apache.org/zh-cn/docsv2.7/user/examples/fault-tolerent-strategy/><meta
charset=utf-8><meta name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.111.3"><link rel="shortcut icon" type=image/png
href=/imgs/favicon.png><link rel=apple-touch-icon
href=/favicons/apple-touch-icon-180x180.png sizes=180x180>< [...]
+<!doctype html><html lang=zh-cn class=no-js><head><meta name=ROBOTS
content="INDEX, FOLLOW"><link rel=canonical
href=https://dubbo.apache.org/zh-cn/docsv2.7/user/examples/fault-tolerent-strategy/><meta
charset=utf-8><meta name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.111.3"><link rel="shortcut icon" type=image/png
href=/imgs/favicon.png><link rel=apple-touch-icon
href=/favicons/apple-touch-icon-180x180.png sizes=180x180>< [...]
<script>var
doNotTrack=!1;if(!doNotTrack){window.dataLayer=window.dataLayer||[];function
gtag(){dataLayer.push(arguments)}gtag("js",new
Date),gtag("config","G-1TFHM5YBH0",{anonymize_ip:!1})}</script><link
rel=preload
href=/scss/main.min.7fa6d3c7f521df6fedf4e016ce03c86424bbf48f7b0d070a25f450054a7fcfeb.css
as=style><link
href=/scss/main.min.7fa6d3c7f521df6fedf4e016ce03c86424bbf48f7b0d070a25f450054a7fcfeb.css
rel=stylesheet integrity><script src=/js/jquery-3.5.1.min.js
integrity="sha256-9/a [...]
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@docsearch/css@3><meta
name=theme-color content="#326ce5"><link rel=stylesheet
href=/css/feature-states.css><meta name=description content="集群调用失败时,Dubbo
提供的容错方案"><meta property="og:description" content="集群调用失败时,Dubbo 提供的容错方案"><meta
name=twitter:description content="集群调用失败时,Dubbo 提供的容错方案"><meta
property="og:url"
content="https://dubbo.apache.org/zh-cn/docsv2.7/user/examples/fault-tolerent-strategy/"><meta
property="og:title" content= [...]
<link href=/css/community.css rel=stylesheet><link href=/css/contactus.css
rel=stylesheet><link href=/css/language.css rel=stylesheet><script
src=/js/script.js></script></head><body class="td-page
td-documentation"><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar" data-auto-burger=primary><a
class=navbar-brand href=/zh-cn/><span class=navbar-logo></span><span
class="text-uppercase font-weight-bold">Apache Dubbo</span></a><div class="
[...]
@@ -200,7 +200,7 @@
<label for=m-zh-cndocsv27admininstallconsumer-demo-check><a
href=/zh-cn/docsv2.7/admin/install/consumer-demo/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cndocsv27admininstallconsumer-demo><span>示例消费者安装</span></a></label></li><li
class="td-sidebar-nav__section-title td-sidebar-nav__section without-child"
id=m-zh-cndocsv27admininstallredis-li><input type=checkbox
id=m-zh-cndocsv27admininstallredis-check>
<label for=m-zh-cndocsv27admininstallredis-check><a
href=/zh-cn/docsv2.7/admin/install/redis/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cndocsv27admininstallredis><span>Redis
注册中心安装</span></a></label></li><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child"
id=m-zh-cndocsv27admininstallzookeeper-li><input type=checkbox
id=m-zh-cndocsv27admininstallzookeeper-check>
<label for=m-zh-cndocsv27admininstallzookeeper-check><a
href=/zh-cn/docsv2.7/admin/install/zookeeper/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cndocsv27admininstallzookeeper><span>Zookeeper
注册中心安装</span></a></label></li><li class="td-sidebar-nav__section-title
td-sidebar-nav__section without-child"
id=m-zh-cndocsv27admininstallmonitor-center-li><input type=checkbox
id=m-zh-cndocsv27admininstallmonitor-center-check>
-<label for=m-zh-cndocsv27admininstallmonitor-center-check><a
href=/zh-cn/docsv2.7/admin/install/monitor-center/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cndocsv27admininstallmonitor-center><span>Simple
监控中心安装</span></a></label></li></ul></li></ul></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a
href=https://dubbo.apac [...]
+<label for=m-zh-cndocsv27admininstallmonitor-center-check><a
href=/zh-cn/docsv2.7/admin/install/monitor-center/ class="align-left pl-0
td-sidebar-link td-sidebar-link__page"
id=m-zh-cndocsv27admininstallmonitor-center><span>Simple
监控中心安装</span></a></label></li></ul></li></ul></li></ul></li></ul></nav></div></div><main
class="col-12 col-md-9 col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb
class=td-breadcrumbs><ol class=breadcrumb><li class=breadcrumb-item><a
href=https://dubbo.apac [...]
</span></span></code></pre></div><p>或</p><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:reference</span> retries=<span
style=color:#2aa198>"2"</span> <span style=color:#268bd2>/></span>
</span></span></code></pre></div><p>或</p><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:reference></span>
</span></span><span style=display:flex><span> <span
style=color:#268bd2><dubbo:method</span> name=<span
style=color:#2aa198>"findFoo"</span> retries=<span
style=color:#2aa198>"2"</span> <span style=color:#268bd2>/></span>
@@ -209,13 +209,13 @@
将不再调用其他节点,直接抛出异常。 broadcast.fail.percent 取值在 0~100 范围内。默认情况下当全部调用失败后,才会抛出异常。
broadcast.fail.percent
只是控制的当失败后是否继续调用其他节点,并不改变结果(任意一台报错则报错)。broadcast.fail.percent 参数
在 dubbo2.7.10 及以上版本生效。</p><p>Broadcast Cluster 配置
broadcast.fail.percent。</p><p>broadcast.fail.percent=20 代表了当 20%
的节点调用失败就抛出异常,不再调用其他节点。</p><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-text data-lang=text><span
style=display:flex><span>@reference(cluster = "broadcast", parameters =
{"broadcast.fail.percent", "20"})
-</span></span></code></pre></div><div class="alert alert-primary"
role=alert><h4 class=alert-heading>提示</h4><code>2.1.0</code> 开始支持</div><h2
id=集群模式配置>集群模式配置</h2><p>按照以下示例在服务提供方和消费方配置集群模式</p><div class=highlight><pre
tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:service</span> cluster=<span
style=color:#2aa198>"failsafe"</spa [...]
+</span></span></code></pre></div><div class="alert alert-primary"
role=alert><h4 class=alert-heading>提示</h4><code>2.1.0</code> 开始支持</div><h3
id=集群模式配置>集群模式配置</h3><p>按照以下示例在服务提供方和消费方配置集群模式</p><div class=highlight><pre
tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:service</span> cluster=<span
style=color:#2aa198>"failsafe"</spa [...]
</span></span></code></pre></div><p>或</p><div class=highlight><pre tabindex=0
style=color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-xml data-lang=xml><span style=display:flex><span><span
style=color:#268bd2><dubbo:reference</span> cluster=<span
style=color:#2aa198>"failsafe"</span> <span
style=color:#268bd2>/></span>
</span></span></code></pre></div><div id=pre-footer><h2>反馈</h2><p
class=feedback--prompt>此页是否对您有帮助?</p><button class="btn btn-primary mb-4
feedback--yes">是</button>
-<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
+<button class="btn btn-primary mb-4
feedback--no">否</button></div><script>const
yes=document.querySelector(".feedback--yes"),no=document.querySelector(".feedback--no");document.querySelectorAll(".feedback--link").forEach(e=>{e.href=e.href+window.location.pathname});const
sendFeedback=e=>{gtag||console.log("!gtag"),gtag("event","click",{event_category:"Helpful",event_label:window.location.pathname,value:e})},disableButtons=()=>{yes.disabled=!0,yes.classList.add("feedback--button__disabled
[...]
<a
href="https://github.com/apache/dubbo-website/new/master/content/zh-cn/docsv2.7/user/examples/fault-tolerent-strategy.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%
[...]
<a
href="https://github.com/apache/dubbo-website/issues/new?title=%e9%9b%86%e7%be%a4%e5%ae%b9%e9%94%99"
target=_blank><i class="fab fa-github fa-fw"></i> 登记问题</a>
-<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div><nav id=TableOfContents><ul><li><a
href=#集群容错模式>集群容错模式</a><ul><li><a href=#failover-cluster>Failover
Cluster</a></li><li><a href=#failfast-cluster>Failfast Cluster</a></li><li><a
href=#failsafe-cluster>Failsafe Cluster</a></li><li><a
href=#failback-cluster>Failback Cluster</a></li><li><a
href=#forking-cluster>Forking Cluster</a></li><li><a
href=#broadcast-cluster>Broadcast [...]
+<a href=https://github.com/apache/dubbo/issues/new target=_blank><i class="fas
fa-tasks fa-fw"></i> 提交项目问题</a></div><nav id=TableOfContents><ul><li><a
href=#背景>背景</a></li><li><a href=#集群容错模式>集群容错模式</a><ul><li><a
href=#failover-cluster>Failover Cluster</a></li><li><a
href=#failfast-cluster>Failfast Cluster</a></li><li><a
href=#failsafe-cluster>Failsafe Cluster</a></li><li><a
href=#failback-cluster>Failback Cluster</a></li><li><a
href=#forking-cluster>Forking Cluster</a></li><li><a href=#b [...]
<script src=/js/bootstrap.min.js
integrity=sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy
crossorigin=anonymous></script>
<script
src=/js/main.min.a4534a01940be8c082c4c0e6777b61df9884f202b61c9519352adb6d1039d5aa.js
integrity="sha256-pFNKAZQL6MCCxMDmd3th35iE8gK2HJUZNSrbbRA51ao="
crossorigin=anonymous></script>
<script src=https://cdn.jsdelivr.net/npm/@docsearch/js@3></script>
diff --git a/zh-cn/docsv2.7/user/examples/index.xml
b/zh-cn/docsv2.7/user/examples/index.xml
index d67b50506c..fa6f2dfcac 100644
--- a/zh-cn/docsv2.7/user/examples/index.xml
+++ b/zh-cn/docsv2.7/user/examples/index.xml
@@ -36,6 +36,7 @@
<p><code>dubbo.reference.check=false</code>,强制改变所有 reference 的 check
值,就算配置中有声明,也会被覆盖。</p>
<p><code>dubbo.consumer.check=false</code>,是设置 check
的缺省值,如果配置中有显式的声明,如:<code>&lt;dubbo:reference
check=&quot;true&quot;/&gt;</code>,不会受影响。</p>
<p><code>dubbo.registry.check=false</code>,前面两个都是指订阅成功,但提供者列表是否为空是否报错,如果注册订阅失败时,也允许启动,需使用此选项,将在后台定时重试。</p></description></item><item><title>Docsv2.7:
集群容错</title><link>https://dubbo.apache.org/zh-cn/docsv2.7/user/examples/fault-tolerent-strategy/</link><pubDate>Mon,
01 Jan 0001 00:00:00
+0000</pubDate><guid>https://dubbo.apache.org/zh-cn/docsv2.7/user/examples/fault-tolerent-strategy/</guid><description>
+<h2 id="背景">背景</h2>
<p>在集群调用失败时,Dubbo 提供了多种容错方案,缺省为 failover 重试。</p>
<p><img src="https://dubbo.apache.org/imgs/user/cluster.jpg"
alt="cluster"></p>
<p>各节点关系:</p>
@@ -85,7 +86,7 @@ broadcast.fail.percent 只是控制的当失败后是否继续调用其他节点
<h4 class="alert-heading">提示</h4>
<code>2.1.0</code> 开始支持
</div>
-<h2 id="集群模式配置">集群模式配置</h2>
+<h3 id="集群模式配置">集群模式配置</h3>
<p>按照以下示例在服务提供方和消费方配置集群模式</p>
<div class="highlight"><pre tabindex="0"
style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-xml" data-lang="xml"><span
style="display:flex;"><span><span
style="color:#268bd2">&lt;dubbo:service</span> cluster=<span
style="color:#2aa198">&#34;failsafe&#34;</span> <span
style="color:#268bd2">/&gt;</span>
</span></span></code></pre></div><p>或</p>
diff --git a/zh-cn/sitemap.xml b/zh-cn/sitemap.xml
index 908287f06a..d85d0224c4 100644
--- a/zh-cn/sitemap.xml
+++ b/zh-cn/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-02-22T15:03:22+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://dubbo.apache.org/zh-cn/overview/mannual/jav
[...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>https://dubbo.apache.org/zh-cn/blog/2023/01/16/%E9%98%BF%E9%87%8C%E5%B7%B4%E5%B7%B4%E5%8D%87%E7%BA%A7-dubbo3-%E5%85%A8%E9%9D%A2%E5%8F%96%E4%BB%A3-hsf2/</loc><lastmod>2023-02-22T15:03:22+08:00</lastmod><changefreq>monthly</changefreq><priority>0.5</priority></url><url><loc>https://dubbo.apache.org/zh-cn/overview/mannual/jav
[...]
\ No newline at end of file