You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2020/10/14 02:31:47 UTC

[james-project] 21/22: JAMES-3407 Document mailbox read repair

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

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit a82a1cd68eb20a0879f1a0030ccad12b2bb6e3a6
Author: Benoit Tellier <bt...@linagora.com>
AuthorDate: Thu Oct 8 16:50:08 2020 +0700

    JAMES-3407 Document mailbox read repair
---
 CHANGELOG.md                                                    | 1 +
 docs/modules/servers/pages/distributed/configure/cassandra.adoc | 4 ++++
 src/site/xdoc/server/config-cassandra.xml                       | 2 ++
 3 files changed, 7 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 51f48e3..89b2e5e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
 - JAMES-3266 Offer an option to disable ElasticSearch in Distributed James product
 - JAMES-3202 Reindex only outdated documents with the Mode option set to CORRECT in reindexing tasks
 - JAMES-3405 Expose metrics of Guice servers over HTTP - enables easy Prometheus metrics collection
+- JAMES-3407 Distributed server: Read-repairs for the mailbox entity
 
 ### Changed
 - Switch to Java 11 for build and run
diff --git a/docs/modules/servers/pages/distributed/configure/cassandra.adoc b/docs/modules/servers/pages/distributed/configure/cassandra.adoc
index e97e177..d4bdafe 100644
--- a/docs/modules/servers/pages/distributed/configure/cassandra.adoc
+++ b/docs/modules/servers/pages/distributed/configure/cassandra.adoc
@@ -135,6 +135,10 @@ If you want more explanation about Cassandra configuration, you should visit the
 |===
 | Property name | explanation
 
+| mailbox.read.repair.chance
+| Optional. Defaults to 0.1 (10% chance).
+Must be between 0 and 1 (inclusive). Controls the probability of doing a read-repair upon mailbox read.
+
 | mailbox.max.retry.acl
 | Optional. Defaults to 1000.
 Controls the number of retries upon Cassandra ACL updates.
diff --git a/src/site/xdoc/server/config-cassandra.xml b/src/site/xdoc/server/config-cassandra.xml
index e725404..23280c4 100644
--- a/src/site/xdoc/server/config-cassandra.xml
+++ b/src/site/xdoc/server/config-cassandra.xml
@@ -118,6 +118,8 @@
         <dd>Optional. Defaults to 256.<br/>
           If specified defines the Cassandra <a href="https://docs.datastax.com/en/developer/java-driver/3.5/manual/pooling/#acquisition-queue">maximum size of the connection pool queue</a>.</dd>
 
+        <dt><strong>mailbox.read.repair.chance</strong></dt>
+        <dd>Optional. Defaults to 0.1 (10% chance).<br/> Must be between 0 and 1 (inclusive). Controls the probability of doing a read-repair upon mailbox read.</dd>
         <dt><strong>mailbox.max.retry.acl</strong></dt>
         <dd>Optional. Defaults to 1000.<br/> Controls the number of retries upon Cassandra ACL updates.</dd>
         <dt><strong>mailbox.max.retry.modseq</strong></dt>


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org