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

Jeremiah Jordan commented on CASSANDRA-18352:
---------------------------------------------

it is uncommon, but I have seen people use something other than microseconds 
since epoch as their timestamp resolution. Should the guardrail support such 
people by adding a “resolution” parameter for it?

The answer is free to be “no” but we should make sure to ducment it as such in 
that case.

on that note the patch should add commented out entries to the cassandra.yaml 
documenting this new guardrail and its use.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to