cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-2762) Token cannot contain comma (possibly non-alpha/non-numeric too?) in OrderPreservingPartitioner
Date Sat, 11 Jun 2011 12:52:58 GMT

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

Jonathan Ellis resolved CASSANDRA-2762.
---------------------------------------

    Resolution: Won't Fix

{code}
    // this must be a char that cannot be present in any token
    public final static char DELIMITER = ',';
    public final static String DELIMITER_STR = new String(new char[] { DELIMITER });
{code}

Changing to something more obscure would be a backwards-incompatible change. Not worth it.

> Token cannot contain comma (possibly non-alpha/non-numeric too?) in OrderPreservingPartitioner
> ----------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2762
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2762
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jackson Chung
>
> It'd appear that when the token contain comma in the OrderPreservingPartitioner case,
C* will fail with assert error:
> ERROR [GossipStage:1] 2011-06-09 16:01:05,063 AbstractCassandraDaemon.java (line 112)
Fatal exception in thread Thread[GossipStage:1,5,main]
> java.lang.AssertionError
>     at org.apache.cassandra.service.StorageService.handleStateBootstrap(StorageService.java:685)
>     at org.apache.cassandra.service.StorageService.onChange(StorageService.java:648)
>     at org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:772)
>     at org.apache.cassandra.gms.Gossiper.applyApplicationStateLocally(Gossiper.java:737)
>     at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:679)
>     at org.apache.cassandra.gms.GossipDigestAck2VerbHandler.doVerb(GossipDigestAck2VerbHandler.java:60)
>     at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:72)
>     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)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message