Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-1638

initMetadata does not load partitioner from disk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.6.7
    • None
    • None
    • Low

    Description

      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); }

      Attachments

        Activity

          People

            lenn0x Chris Goffinet
            lenn0x Chris Goffinet
            Chris Goffinet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: