Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Normal
Description
The following:
cassandraserver.system_add_keyspace( new KsDef("xxx", SimpleStrategy.class.getSimpleName(), Lists.<CfDef>newArrayList()));
used to throw an InvalidRequestException in 2.1.
In 3.0 the strategy validation has been removed from KeyspaceMetadata.validate so the strategy errors don't get picked up until the schema change has been announced. As a result the ConfigurationError is swallowed in FBUtilities.waitOnFuture and thrown on as a RuntimeException.
This possibly affects system_update_keyspace as well.