Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Single Node on MacOSX, installed from 0.7.4 binary .tar ball.
-
Normal
Description
Please note this is reproducible on both Cassandra 0.74 and the April 18th trunk build.
Reproduction Steps
create column family users with comparator = UTF8Type and column_metadata = [{column_name: password, validation_class: UTF8Type}, {column_name: gender, validation_class: AsciiType}]; update column family users with comparator = UTF8Type and column_metadata = [{column_name: password, validation_class: UTF8Type} {column_name: gender, validation_class: UTF8Type}];
Before & After quitting cassandra-cli: Notice the validation class for the gender client still shows AsciiType
[default@demo] describe keyspace demo; Keyspace: demo: Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy Options: [datacenter1:1] Column Families: ColumnFamily: users Key Validation Class: org.apache.cassandra.db.marshal.BytesType Default column value validator: org.apache.cassandra.db.marshal.BytesType Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type Row cache size / save period in seconds: 0.0/0 Key cache size / save period in seconds: 200000.0/14400 Memtable thresholds: 0.29062499999999997/62/1440 (millions of ops/MB/minutes) GC grace seconds: 864000 Compaction min/max thresholds: 4/32 Read repair chance: 1.0 Replicate on write: false Built indexes: [] Column Metadata: Column Name: gender Validation Class: org.apache.cassandra.db.marshal.AsciiType Column Name: password Validation Class: org.apache.cassandra.db.marshal.UTF8Type