[ 
https://issues.apache.org/jira/browse/CASSANDRA-21001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18038944#comment-18038944
 ] 

Sam Tunnicliffe commented on CASSANDRA-21001:
---------------------------------------------

The CI results are not pretty, but all of failures are either preexisting, due 
to some environmental issue with our CI system (e.g. nodetool stderr includes 
{{JAVA_TOOL_OPTIONS}}), or cannot be reproduced locally. 

> Don't submit AlterSchemaStatements which produce no effect locally to the CMS
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-21001
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21001
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Transactional Cluster Metadata
>            Reporter: Sam Tunnicliffe
>            Assignee: Sam Tunnicliffe
>            Priority: Normal
>             Fix For: 6.x
>
>         Attachments: ci_summary.html, result_details.tar.gz
>
>
> If a DDL statement produces no effect when the coordinator performs the 
> pre-submission application of the schema transformation, we can skip sending 
> it to the CMS and return a Void response.
> The initial implementation would submit any {{AlterSchemaStatement}} which 
> did not generate an error but this can lead to many DDL operations which are 
> in fact no-ops being committed to the log. One example would be a client 
> application which performs a series of DDL statements with {{IF NOT EXISTS}} 
> clauses whenever it starts up. This is strictly correct, as the operations 
> will all be no-op'd when applied by the nodes in the cluster, but is somewhat 
> wasteful and not intuitive.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to