If a user specifies a Comparator in an update column family (as was from a irc user), as

update column family report_by_account_content with comparator=UTF8Type and column_metadata = [{ column_name:'meta:account-id', validation_class:UTF8Type,index_type:KEYS},{ column_name:'meta:filter-hash', validation_class:UTF8Type,index_type:KEYS}];


The comparator value is seen as different because the original comparator was the fully qualified name of the org.apache.cassandra.db.marshal.UTF8Type, and new one is what is passed in UTF8Type. So CFMetaData.diff sees this as a change and does extra work because of it.

I'm guessing there are other class name values where this holds true as well.

Is this a big enough concern to address?

thanks
dave


Reply via email to