You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2013/09/17 15:24:52 UTC
[jira] [Commented] (CASSANDRA-6041) AssertionError in Tracing
[ https://issues.apache.org/jira/browse/CASSANDRA-6041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13769505#comment-13769505 ]
Aleksey Yeschenko commented on CASSANDRA-6041:
----------------------------------------------
+1
> AssertionError in Tracing
> -------------------------
>
> Key: CASSANDRA-6041
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6041
> Project: Cassandra
> Issue Type: Bug
> Reporter: Sylvain Lebresne
> Assignee: Sylvain Lebresne
> Priority: Minor
> Fix For: 2.0.1
>
> Attachments: 0002-Fix-AssertionError-in-Tracing.txt
>
>
> Tracing in 2.0.0 can throw the following:
> {noformat}
> ERROR [TracingStage:1] 2013-09-17 14:38:41,486 CassandraDaemon.java (line 185) Exception in thread Thread[TracingStage:1,5,main]
> java.lang.AssertionError: Added column does not sort as the last column
> at org.apache.cassandra.db.ArrayBackedSortedColumns.addColumn(ArrayBackedSortedColumns.java:115)
> at org.apache.cassandra.db.ColumnFamily.addColumn(ColumnFamily.java:116)
> at org.apache.cassandra.tracing.Tracing.addParameterColumns(Tracing.java:101)
> at org.apache.cassandra.tracing.Tracing$2.runMayThrow(Tracing.java:210)
> at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
> {noformat}
> That's because addParamaterColumns will insert cell with names we don't know in advance, so we can't use ArrayBackedSortedColumns. Attaching patch to switch to TreeMapBackedSortedColumns.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira