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] [Updated] (CASSANDRA-13143) Cassandra can accept invalid durations
Date Fri, 27 Jan 2017 10:06:24 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-13143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Lerer updated CASSANDRA-13143:
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.10
           Status: Resolved  (was: Ready to Commit)

Committed into 3.11 at 91564abaddce59b06c024e8959c46ec1e4d19eda and merged into trunk

> Cassandra can accept invalid durations
> --------------------------------------
>
>                 Key: CASSANDRA-13143
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13143
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>            Reporter: Benjamin Lerer
>            Assignee: Benjamin Lerer
>             Fix For: 3.10
>
>
> 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