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

Gary Dusbabek edited comment on CASSANDRA-1146 at 6/3/10 12:53 PM:
-------------------------------------------------------------------

patch is for trunk, but putting this back to 0.6 shouldn't pose a stability 
problem or interfere with upgrades.

Biggest change is that partitioner name is stored in system table and 
ST.initMetadata() flushes system tables after writing.

btw, this patch doesn't interfere with the sstable format.

      was (Author: gdusbabek):
    patch is for trunk, but putting this back to 0.6 shouldn't pose a stability 
problem or interfere with upgrades.

Biggest change is that partitioner name is stored in system table and 
ST.initMetadata() flushes system tables after writing.
  
> "Expected both token and generation columns"
> --------------------------------------------
>
>                 Key: CASSANDRA-1146
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1146
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6
>            Reporter: Jonathan Ellis
>            Assignee: Gary Dusbabek
>             Fix For: 0.6.3
>
>         Attachments: 0001-detect-partitioner-changes-and-fail-fast.patch
>
>
> From the mailing list:
> {code}
> ERROR 16:14:35,975 Exception encountered during startup.
> java.lang.RuntimeException: Expected both token and generation columns; found 
> ColumnFamily(LocationInfo [Generation:false:4...@4,])
>     at org.apache.cassandra.db.SystemTable.initMetadata(SystemTable.java:159)
>     at 
> org.apache.cassandra.service.StorageService.initServer(StorageService.java:305)
>     at 
> org.apache.cassandra.thrift.CassandraDaemon.setup(CassandraDaemon.java:99)
>     at 
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:177)
> Exception encountered during startup.
> {code}
> Separately, the same user wrote: "I added a server to my cluster. It had some 
> junk in the system/LocationInfo files from previous, unsuccessful attempts to 
> add the server to the cluster. (They were unsuccessful because I hadn't 
> opened the port on that computer.)"
> Perhaps that is why it was able to create the Generation column but not the 
> Token?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to