You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by wa...@apache.org on 2022/10/10 20:48:30 UTC

[pulsar] branch master updated: Example broke Ensemble>=WriteQuorum>=AckQuorum (#17956)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new c5ae308ceb1 Example broke Ensemble>=WriteQuorum>=AckQuorum (#17956)
c5ae308ceb1 is described below

commit c5ae308ceb170d443e7b006ef2237201477d79ea
Author: Dave Fisher <da...@comcast.net>
AuthorDate: Mon Oct 10 15:48:21 2022 -0500

    Example broke Ensemble>=WriteQuorum>=AckQuorum (#17956)
---
 site2/docs/administration-zk-bk.md | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/site2/docs/administration-zk-bk.md b/site2/docs/administration-zk-bk.md
index e410325bd4d..56555ccb673 100644
--- a/site2/docs/administration-zk-bk.md
+++ b/site2/docs/administration-zk-bk.md
@@ -294,8 +294,9 @@ pulsar-admin namespaces set-persistence my-tenant/my-ns \
 #### Java
 
 ```java
-int bkEnsemble = 2;
-int bkQuorum = 3;
+// The following must be true: bkEnsemble >= bkQuorum >= bkAckQuorum
+int bkEnsemble = 3;
+int bkQuorum = 2;
 int bkAckQuorum = 2;
 double markDeleteRate = 0.7;
 PersistencePolicies policies =