[
https://issues.apache.org/jira/browse/JAMES-3406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212283#comment-17212283
]
Matthieu Baechler commented on JAMES-3406:
------------------------------------------
I'm late to this but I'm struck by
> Running the Distributed Server in a multi datacenter setup will likely result
> either in data loss, or very slow operations.
Isn't it the goal of a distributed server to work with redundant DCs?
Could you explain why multi-dc + LOCAL_QUORUM + LOCAL_SERIAL is a bad idea?
Actually I think it's because we really want UID generation to be monotonic to
avoid re-assigning a mail uid but writing it in the doc could help to
workaround that particular topic, with for example a very different uid
generation implementation that would rely on in-memory datastructure.
> Documentation page - distributed James consistency model
> --------------------------------------------------------
>
> Key: JAMES-3406
> URL: https://issues.apache.org/jira/browse/JAMES-3406
> Project: James Server
> Issue Type: Improvement
> Components: cassandra, Documentation, elasticsearch, guice, rabbitmq
> Reporter: Benoit Tellier
> Priority: Major
> Fix For: 3.6.0
>
>
> Document, in a dedicated section of the new documentation website the
> consistency model
> (`/docs/modules/servers/pages/distributed/architecture/consistency-model.md`)
> - Data Replication
> - Words about Cassandra consistency model
> - Words about ElasticSearch consistency model
> - Discourage General usage Cassandra MultiDC set-up (because of
> Lightweight Transaction)
> - De-normalization
> - Which data is denormalized ?
> - What can go wrong (denormalization inconsistencies) ?
> - `Solve Inconsistency tasks`
> - Applicative read repairs
> - Consistency across data stores
> - Write to object storage first, then position Cassandra meta-data
> - Cassandra <=> ElasticSearch: point to the EventBus (async, retries,
> dead-letter) + reIndex
> - Recovering RabbitMQ mailQueue from the Cassandra projection
> Don't forget to point/reuse existing ADRs !
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]