cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-12850) Add the duration type to the protocol V5
Date Fri, 20 Jan 2017 12:49:26 GMT


Benjamin Lerer commented on CASSANDRA-12850:


The patch add {{Duration}} to the protocol specification and to the {{DataType}}.
While running the tests, I faced an {{IllegalStateException}} in {{OptionCodec}} caused by
the fact that 2 {{DataType}}s where having the same id (the one of {{CUSTOM}}.
As {{OptionCodec}} was only used by {{DataType}} I simplified it and converted it into an
inner class. That change helped to fix the problem as the {{protocolVersion}} of the {{DataType}}
was needed. 

> Add the duration type to the protocol V5
> ----------------------------------------
>                 Key: CASSANDRA-12850
>                 URL:
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: CQL
>            Reporter: Benjamin Lerer
>            Assignee: Benjamin Lerer
>             Fix For: 3.x
> The Duration type need to be added to the protocol specifications.

This message was sent by Atlassian JIRA

View raw message