[
https://issues.apache.org/jira/browse/CASSGO-103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tejas Lodaya reassigned CASSGO-103:
-----------------------------------
Assignee: Tejas Lodaya
> Add GetSerialConsistency() method to Query and Batch for API symmetry with
> GetConsistency()
> -------------------------------------------------------------------------------------------
>
> Key: CASSGO-103
> URL: https://issues.apache.org/jira/browse/CASSGO-103
> Project: Apache Cassandra Go driver
> Issue Type: Bug
> Reporter: Johnny Miller
> Assignee: Tejas Lodaya
> Priority: Normal
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The `Query` and `Batch` types expose `GetConsistency()` to retrieve the
> normal consistency level, but there is no corresponding
> `GetSerialConsistency()` method to retrieve the serial consistency level used
> for lightweight transactions (LWTs). This creates an API asymmetry and makes
> it impossible to introspect the serial consistency configuration without
> tracking it separately.
>
> Statement.getSerialConsistencyLevel() in the Java driver returns the serial
> ConsistencyLevel.
> The Go driver should provide feature parity for consistency level
> introspection.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]