[
https://issues.apache.org/jira/browse/CASSANDRA-9282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14544173#comment-14544173
]
T Jake Luciani commented on CASSANDRA-9282:
-------------------------------------------
bq. use Pair instead of string-mangling
We send the result back to the user/log so the Pair.toString() isn't going to
look like keyspace.table
Pushed an update to use String.format() vs String concat.
bq. Should also use the freshly committed CASSANDRA-8930
Done for trunk here: https://github.com/tjake/cassandra/tree/9282-unlogged-trunk
There was an issue with the other warning was using slf4j format with
String.format that I also fixed.
> Warn on unlogged batches
> ------------------------
>
> Key: CASSANDRA-9282
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9282
> Project: Cassandra
> Issue Type: Bug
> Components: API
> Reporter: Jonathan Ellis
> Assignee: T Jake Luciani
> Fix For: 2.1.x
>
>
> At least until CASSANDRA-8303 is done and we can block them entirely, we
> should log a warning when unlogged batches across multiple partition keys are
> used. This could either be done by backporting NoSpamLogger and blindly
> logging every time, or we could add a threshold and warn when more than 10
> keys are seen.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)