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

Jordan West commented on CASSANDRA-18352:
-----------------------------------------

will make sure to add those. I am not necessarily opposed to having a 
resolution option as long as it defaults to micros. I will say that we commonly 
see folks accidentally use millisecond resolution (when they had implicitly 
been using microseconds but need to write some data USING TIMESTAMP or other 
reason). That is the one of the main scenarios we want to prevent. 

> Add Option to Timebox write timestamps
> --------------------------------------
>
>                 Key: CASSANDRA-18352
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18352
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: CQL/Semantics
>            Reporter: Jordan West
>            Assignee: Jordan West
>            Priority: Normal
>
> In several cases it is desirable to have client provided timestamps generated 
> at the application-level. This can be error prone, however. In particular, 
> applications can choose timestamps that may be nonsensical for a given 
> application. One dangerous manifestation of this is the "doomstone" (a 
> tombstone far in the future of any realistic write). This feature would allow 
> either operators or users to specify a minimum and maximum timebound of 
> "reasonable" timestamps. The default would be negative infinity, positive 
> infinity to maintain backwards compatibility. Writes that are USING TIMESTAMP 
> with a timestamp outside of the timebox will see an exception. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to