[ https://issues.apache.org/jira/browse/JAMES-3224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136785#comment-17136785 ]
Matthieu Baechler commented on JAMES-3224: ------------------------------------------ I feel it's quite dangerous to do that: the application knows better than the user which consistency level to use for things. What we can do is allow to switch QUORUM-style queries to EACH_QUORUM or LOCAL_QUORUM but it would not make sense to allow for ONE for example BTW, we also have, in the codebase, some ONE on specific uses: we can't have a single level of configuration as it uses ONE for good reasons. > 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