[
https://issues.apache.org/jira/browse/CASSANDRA-15408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leon Zaruvinsky updated CASSANDRA-15408:
----------------------------------------
Description:
In [this
refactor|https://github.com/apache/cassandra/commit/b31845c4a7982358a7c5bfd9bcf572fda6c1bfa9#diff-826a67bf1ae2e45372a35a6a2a6f3f3cL74]
of CFPropDefs to TableAttributes for CASSANDRA-9712, three obsolete keywords
were removed:
{code:java}
obsoleteKeywords.add("index_interval");
obsoleteKeywords.add("replicate_on_write");
obsoleteKeywords.add("populate_io_cache_on_flush");
{code}
The Thrift API continues to reference these keywords as deprecated, so it's not
clear that they are actually unsupported.
Could we either add them back as obsoleteKeywords, or add a change log that
statements with these properties will fail? I understand that the Thrift API
is totally deprecated so I don't feel strongly about cleaning it up.
was:
In [this
refactor|https://github.com/apache/cassandra/commit/b31845c4a7982358a7c5bfd9bcf572fda6c1bfa9#diff-826a67bf1ae2e45372a35a6a2a6f3f3cL74]
of CFPropDefs to TableAttributes for CASSANDRA-9712, three obsolete keywords
were removed:
{code:java}
obsoleteKeywords.add("index_interval");
obsoleteKeywords.add("replicate_on_write");
obsoleteKeywords.add("populate_io_cache_on_flush");
{code}
The Thrift API continues to reference these keywords as deprecated, so it's not
clear that they are actually unsupported.
Could we either add them back as obsoleteKeywords, or remove them from the
Thrift API and add a change log that statements with these properties will fail?
> Cassandra throws SyntaxException for obsolete keywords that Thrift API permits
> ------------------------------------------------------------------------------
>
> Key: CASSANDRA-15408
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15408
> Project: Cassandra
> Issue Type: Bug
> Reporter: Leon Zaruvinsky
> Priority: Normal
>
> In [this
> refactor|https://github.com/apache/cassandra/commit/b31845c4a7982358a7c5bfd9bcf572fda6c1bfa9#diff-826a67bf1ae2e45372a35a6a2a6f3f3cL74]
> of CFPropDefs to TableAttributes for CASSANDRA-9712, three obsolete keywords
> were removed:
> {code:java}
> obsoleteKeywords.add("index_interval");
> obsoleteKeywords.add("replicate_on_write");
> obsoleteKeywords.add("populate_io_cache_on_flush");
> {code}
>
> The Thrift API continues to reference these keywords as deprecated, so it's
> not clear that they are actually unsupported.
> Could we either add them back as obsoleteKeywords, or add a change log that
> statements with these properties will fail? I understand that the Thrift API
> is totally deprecated so I don't feel strongly about cleaning it up.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]