cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13143) Cassandra can accept invalid durations
Date Fri, 20 Jan 2017 20:37:27 GMT

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

Benjamin Lerer commented on CASSANDRA-13143:
--------------------------------------------

||3.11|[branch|https://github.com/apache/cassandra/compare/trunk...blerer:13143-3.11]|[utest|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-13143-3.11-testall/]|[dtests|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-13143-3.11-dtest/]|

The patch fix the validation and add some tests for it.

> Cassandra can accept invalid durations
> --------------------------------------
>
>                 Key: CASSANDRA-13143
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13143
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Benjamin Lerer
>
> A duration can be positive or negative. If the duration is positive the months, days
and nanoseconds must be greater or equals to zero. If the duration is negative the months,
days and nanoseconds must be smaller or equals to zero.
> Currently, it is possible to send to C* a duration which does not respect that rule and
the data will not be reject.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message