cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4981) Error when starting a node with vnodes while counter-add operations underway
Date Mon, 29 Aug 2016 12:17:20 GMT

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

Sylvain Lebresne commented on CASSANDRA-4981:
---------------------------------------------

[~smujamadar@gmail.com] As that ticket has been resolved for more than 3 years and refer to
a very old version of C*, would you mind opening a new ticket with your "fresh" information?

> Error when starting a node with vnodes while counter-add operations underway
> ----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-4981
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4981
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: 2-node cluster on ec2, ubuntu, cassandra-1.2.0 commit a32eb9f7d2f2868e8154d178e96e045859e1d855
>            Reporter: Tyler Patterson
>            Assignee: Ryan McGuire
>            Priority: Minor
>              Labels: qa-resolved
>         Attachments: system.log
>
>
> Start both nodes, start stress on one node like this: "cassandra-stress --replication-factor=2
--operation=COUNTER_ADD"
> While that is running: On the other node, kill cassandra, wait for "nodetool status"
to show the node as down, and restart cassandra. I sometimes have to kill and restart cassandra
several times to get the problem to happen.
> I get this error several times in the log:
> {code}
> ERROR 15:39:33,198 Exception in thread Thread[MutationStage:16,5,main]
> java.lang.AssertionError
> 	at org.apache.cassandra.locator.TokenMetadata.firstTokenIndex(TokenMetadata.java:748)
> 	at org.apache.cassandra.locator.TokenMetadata.firstToken(TokenMetadata.java:762)
> 	at org.apache.cassandra.locator.AbstractReplicationStrategy.getNaturalEndpoints(AbstractReplicationStrategy.java:95)
> 	at org.apache.cassandra.service.StorageService.getNaturalEndpoints(StorageService.java:2426)
> 	at org.apache.cassandra.service.StorageProxy.performWrite(StorageProxy.java:396)
> 	at org.apache.cassandra.service.StorageProxy.applyCounterMutationOnLeader(StorageProxy.java:755)
> 	at org.apache.cassandra.db.CounterMutationVerbHandler.doVerb(CounterMutationVerbHandler.java:53)
> 	at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:662)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message