You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tejas Lodaya (Jira)" <ji...@apache.org> on 2026/01/14 09:29:00 UTC

[jira] [Assigned] (CASSGO-103) Add GetSerialConsistency() method to Query and Batch for API symmetry with GetConsistency()

     [ 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org