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

João Reis edited comment on CASSGO-103 at 3/17/26 7:46 PM:
-----------------------------------------------------------

NEW PR: [https://github.com/apache/cassandra-gocql-driver/pull/1934]


was (Author: JIRAUSER306784):
https://github.com/apache/cassandra-gocql-driver/pull/1934

> 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: New Feature
>          Components: Core
>            Reporter: Johnny Miller
>            Assignee: Tejas Lodaya
>            Priority: Normal
>             Fix For: 2.1.0
>
>          Time Spent: 50m
>  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]

Reply via email to