cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Goffinet (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-1638) initMetadata does not load partitioner from disk
Date Wed, 20 Oct 2010 20:24:25 GMT
initMetadata does not load partitioner from disk
------------------------------------------------

                 Key: CASSANDRA-1638
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1638
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.6.6
            Reporter: Chris Goffinet
            Assignee: Chris Goffinet
            Priority: Minor
             Fix For: 0.6.7


The function initMetadata() in org/apache/cassandra/db/SystemTable.java does not add the PARTITIONER
constant to columns. So when the NamesQueryFilter runs, it will never pull the value from
disk. This makes this portion of the code always null:

        if (partitionerColumn == null)
        {
            Column c = new Column(PARTITIONER, partitioner.getBytes("UTF-8"), TimestampClock.ZERO);
            cf.addColumn(c);
            logger.info("Saved partitioner not found. Using " + partitioner);
        }

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


Mime
View raw message