chibenwa commented on a change in pull request #921:
URL: https://github.com/apache/james-project/pull/921#discussion_r828992189
##########
File path:
server/apps/distributed-app/docs/modules/ROOT/pages/configure/cassandra.adoc
##########
@@ -215,4 +215,7 @@ If disabled, Lightweight transactions will no longer be
used upon messages opera
As message flags updates relies so far on a read-before-write model, it
exposes yourself to data races leading to
potentially update loss. Better performance are expected
by turning it off. Reads performed as part of write transaction are also
performed with a relaxed consistency.
+
+| mailrepository.strong.consistency
+| Optional. Boolean, defaults to true. Allows to not using lightweight
transactions in CassandraMailRepository.
Review comment:
Allows not to use lightweight transactions
##########
File path:
server/apps/distributed-app/docs/modules/ROOT/pages/configure/cassandra.adoc
##########
@@ -215,4 +215,7 @@ If disabled, Lightweight transactions will no longer be
used upon messages opera
As message flags updates relies so far on a read-before-write model, it
exposes yourself to data races leading to
potentially update loss. Better performance are expected
by turning it off. Reads performed as part of write transaction are also
performed with a relaxed consistency.
+
+| mailrepository.strong.consistency
+| Optional. Boolean, defaults to true. Allows to not using lightweight
transactions in CassandraMailRepository.
Review comment:
Maybe say also that we instead implement an indempotent behaviour
(duplicates are overriden, missing entries upon deletes are ignored)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]