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

update column family fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.1.5
    • None
    • None
    • Normal

    Description

      [default@test] show schema;
      create column family Messages
      with column_type = 'Standard'
      and comparator = 'AsciiType'
      and default_validation_class = 'BytesType'
      and key_validation_class = 'AsciiType'
      and read_repair_chance = 0.1
      and dclocal_read_repair_chance = 0.0
      and gc_grace = 864000
      and min_compaction_threshold = 2
      and max_compaction_threshold = 4
      and replicate_on_write = true
      and compaction_strategy = 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy'
      and caching = 'KEYS_ONLY'
      and compaction_strategy_options =

      {'sstable_size_in_mb' : '1024'}

      and compression_options =

      {'chunk_length_kb' : '64', 'sstable_compression' : 'org.apache.cassandra.io.compress.DeflateCompressor'}

      ;

      [default@test] update column family Messages with min_compaction_threshold = 4 and max_compaction_threshold = 32;
      a5b7544e-1ef5-3bfd-8770-c09594e37ec2
      Waiting for schema agreement...
      ... schemas agree across the cluster

      [default@test] show schema;
      create column family Messages
      with column_type = 'Standard'
      and comparator = 'AsciiType'
      and default_validation_class = 'BytesType'
      and key_validation_class = 'AsciiType'
      and read_repair_chance = 0.1
      and dclocal_read_repair_chance = 0.0
      and gc_grace = 864000
      and min_compaction_threshold = 2
      and max_compaction_threshold = 4
      and replicate_on_write = true
      and compaction_strategy = 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy'
      and caching = 'KEYS_ONLY'
      and compaction_strategy_options =

      {'sstable_size_in_mb' : '1024'}

      and compression_options =

      {'chunk_length_kb' : '64', 'sstable_compression' : 'org.apache.cassandra.io.compress.DeflateCompressor'}

      ;

      Attachments

        1. CASSANDRA-4561-CS.patch
          1 kB
          Pavel Yaskevich
        2. CASSANDRA-4561.patch
          4 kB
          Pavel Yaskevich

        Activity

          People

            xedin Pavel Yaskevich
            zenek_kraweznik0 Zenek Kraweznik
            Pavel Yaskevich
            Jonathan Ellis
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: