[ https://issues.apache.org/jira/browse/CASSANDRA-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jon Hermes updated CASSANDRA-2713: ---------------------------------- Attachment: 2713-disallow.txt 2713-allow.txt Attaching two patches. `2713-allow` will allow nulls and default them to an empty set on KSMD creation. `2713-disallow` will explicitly block nulls during ThriftValidation. Both avoid NPEs and either are technically correct. Looks like we need to allow nulls because of upgrade issues coming from 0.7. > Null strategy_options on a KsDef leads to an NPE. > ------------------------------------------------- > > Key: CASSANDRA-2713 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2713 > Project: Cassandra > Issue Type: Bug > Affects Versions: 0.8.0 beta 2 > Reporter: Jon Hermes > Assignee: Jon Hermes > Priority: Minor > Fix For: 0.8.0 > > Attachments: 2713-allow.txt, 2713-disallow.txt > > > For add/update keyspace, a KsDef with null strategy_options will cause an NPE. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira