Vinay Chella commented on CASSANDRA-13697:

Attaching the patch. Updated the spec with definitions for {{CAS}}, {{VIEW}} 
and {{CDC}}

Here is the circleci build status - 

> CDC and VIEW writeType missing from spec for write_timeout / write_failure
> --------------------------------------------------------------------------
>                 Key: CASSANDRA-13697
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13697
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Documentation and Website
>            Reporter: Andy Tolbert
>            Priority: Minor
>              Labels: lhf
> In cassandra 3.0 a new {{WriteType}} {{VIEW}} was added which appears to be 
> used when raising a {{WriteTimeoutException}} when the local view lock for a 
> key cannot be acquired within timeout.
> In cassandra 3.8 {{CDC}} {{WriteType}} was added for when 
> {{cdc_total_space_in_mb}} is exceeded when doing a write to data tracked by 
> cdc.
> The [v4 
> spec|https://github.com/apache/cassandra/blob/cassandra-3.11.0/doc/native_protocol_v4.spec#L1051-L1066]
>  currently doesn't cover these two write types.   While the protocol allows 
> for a free form string for write type, it would be nice to document that 
> types are available since some drivers (java, cpp, python) attempt to 
> deserialize write type into an enum and may not handle it well.

This message was sent by Atlassian JIRA

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

Reply via email to