[ 
https://issues.apache.org/jira/browse/JAMES-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17138255#comment-17138255
 ] 

Matthieu Baechler commented on JAMES-3224:
------------------------------------------

Not exactly. I propose:

cassandra.consistency_level.quorum with possible values EACH_QUORUM, QUORUM, 
LOCAL_QUORUM
cassandra.consistency_level.lightweight_transaction with possible values 
SERIAL, LOCAL_SERIAL

the second can be dropped if you want but then we have to decide for each 
quorum type which LWT type we want. Not sure it's a good idea to do that choice 
implicitly.


> Make Cassandra Consistency levels configurable
> ----------------------------------------------
>
>                 Key: JAMES-3224
>                 URL: https://issues.apache.org/jira/browse/JAMES-3224
>             Project: James Server
>          Issue Type: Improvement
>          Components: cassandra
>            Reporter: Gautier DI FOLCO
>            Priority: Minor
>
> Consistency level in Cassandra queries is set explicitly to QUORUM in some 
> cases, and to SERIAL in some other cases (lightweight transactions).
> The goal is to make these queries globally configurable.
> In the {{cassandra.properties}} file, I propose we add two configuration 
> properties:
>  * {{cassandra.consistency_level.regular}} (default to QUORUM to avoid 
> breaking changes)
>  * {{cassandra.consistency_level.lightweight_transaction}} (default to SERIAL)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to