This is an automated email from the ASF dual-hosted git repository.
btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git
The following commit(s) were added to refs/heads/master by this push:
new 38db78d JAMES-3679 Set mailbox recent gc_grace_second to zero (#768)
38db78d is described below
commit 38db78d909c6c32411c591fe08fb6857b0f8547b
Author: Benoit TELLIER <[email protected]>
AuthorDate: Mon Dec 6 14:23:12 2021 +0700
JAMES-3679 Set mailbox recent gc_grace_second to zero (#768)
This prevents (most of) tombstones warnings when reading this
table and the underlying data model is resilient to
deletions not applied (as all entries are removed on SELECT).
---
.../james/mailbox/cassandra/modules/CassandraMailboxRecentsModule.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/modules/CassandraMailboxRecentsModule.java
b/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/modules/CassandraMailboxRecentsModule.java
index 16eb511..2a16541 100644
---
a/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/modules/CassandraMailboxRecentsModule.java
+++
b/mailbox/cassandra/src/main/java/org/apache/james/mailbox/cassandra/modules/CassandraMailboxRecentsModule.java
@@ -34,6 +34,7 @@ public interface CassandraMailboxRecentsModule {
" is a SELECT optimisation.")
.options(options -> options
.compactionOptions(SchemaBuilder.sizedTieredStategy())
+ .gcGraceSeconds(0)
.caching(SchemaBuilder.KeyCaching.ALL,
SchemaBuilder.rows(CassandraConstants.DEFAULT_CACHED_ROW_PER_PARTITION)))
.statement(statement -> statement
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]