cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-5387) If a hint is added for a bootstrapping node, it triggers an assertion
Date Tue, 26 Mar 2013 21:59:15 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Williams resolved CASSANDRA-5387.
-----------------------------------------

    Resolution: Not A Problem

We only generate hints for ring members.  If hints are being generated for a bootstrapping
node, the hint generator is confused about the ring.
                
> If a hint is added for a bootstrapping node, it triggers an assertion
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-5387
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5387
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.9
>            Reporter: Jeremiah Jordan
>            Priority: Minor
>
> If hints are attempted to be generated for a node which is currently bootstrapping, it
generates an assertion:
> {noformat}
> DEBUG [MutationStage:6] 2013-03-26 15:08:58,640 StorageProxy.java (line 367) Adding hint
for /<BOOTSTRAPPING NODE IP>
> ERROR [MutationStage:6] 2013-03-26 15:08:58,640 AbstractCassandraDaemon.java (line 135)
Exception in thread Thread[MutationStage:6,5,main]
> java.lang.AssertionError
> 	at org.apache.cassandra.locator.TokenMetadata.getToken(TokenMetadata.java:304)
> 	at org.apache.cassandra.service.StorageProxy$5.runMayThrow(StorageProxy.java:371)
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> 	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)
> {noformat}

--
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

Mime
View raw message