[jira] [Updated] (CASSANDRA-13143) Cassandra can accept invalid durations

2017-01-27 Thread Benjamin Lerer (JIRA)

 [ 
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)


[jira] [Updated] (CASSANDRA-13143) Cassandra can accept invalid durations

2017-01-26 Thread Tyler Hobbs (JIRA)

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

Tyler Hobbs updated CASSANDRA-13143:

Status: Ready to Commit  (was: Patch Available)

> 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
>
> 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)


[jira] [Updated] (CASSANDRA-13143) Cassandra can accept invalid durations

2017-01-20 Thread Benjamin Lerer (JIRA)

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

Benjamin Lerer updated CASSANDRA-13143:
---
Assignee: Benjamin Lerer
  Status: Patch Available  (was: Open)

> 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
>Assignee: 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)