You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Andy Tolbert (Jira)" <ji...@apache.org> on 2024/09/02 17:31:00 UTC
[jira] [Updated] (CASSANDRA-19885) Remove default implementations of getExecutionProfile in ExecutionInfo and GraphExecutionInfo
[ https://issues.apache.org/jira/browse/CASSANDRA-19885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Tolbert updated CASSANDRA-19885:
-------------------------------------
Description:
As a follow on to [apache/cassandra-java-driver#1949|https://github.com/apache/cassandra-java-driver/pull/1949] we should remove the default implementations of {{getExecutionProfile}} on {{ExecutionInfo}} and {{GraphExecutionInfo}} types.
These methods were added in a minor release (4.19), and in order to retain semantic versioning default implementations that return null were added in order to avoid breaking backwards compatibility. As returning null by default is not ideal, remove the {{default}} keyword on next major release as a breaking API change would ok then.
was:
As a follow on to [apache/cassandra-java-driver#1949|https://github.com/apache/cassandra-java-driver/pull/1949] we should remove the default implementations of {{getExecutionProfile}} on {{ExecutionInfo}} and {{GraphExecutionInfo}} types.
These methods were added in a minor release (4.19), and in order to retain semantic versioning default implementations that return null were added in order to avoid breaking backwards compatibility. As returning null by default is not ideal, remove the {{default}} keyword on next major release as breaking API change would ok then.
> Remove default implementations of getExecutionProfile in ExecutionInfo and GraphExecutionInfo
> ---------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-19885
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19885
> Project: Cassandra
> Issue Type: Improvement
> Components: Client/java-driver
> Reporter: Andy Tolbert
> Priority: Normal
>
> As a follow on to [apache/cassandra-java-driver#1949|https://github.com/apache/cassandra-java-driver/pull/1949] we should remove the default implementations of {{getExecutionProfile}} on {{ExecutionInfo}} and {{GraphExecutionInfo}} types.
> These methods were added in a minor release (4.19), and in order to retain semantic versioning default implementations that return null were added in order to avoid breaking backwards compatibility. As returning null by default is not ideal, remove the {{default}} keyword on next major release as a breaking API change would ok then.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org