You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Vinay Chella (JIRA)" <ji...@apache.org> on 2018/03/08 01:47:00 UTC

[jira] [Comment Edited] (CASSANDRA-13697) CDC and VIEW writeType missing from spec for write_timeout / write_failure

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

Vinay Chella edited comment on CASSANDRA-13697 at 3/8/18 1:46 AM:
------------------------------------------------------------------

 
Here is the patch. Updated the spec with definitions for {{CAS}}, {{VIEW}} and {{CDC in V3, V4 and V5 spec}}
 
||Branch PR||circleci||
|[PR to trunk|https://github.com/vinaykumarchella/cassandra/pull/3]|[CircleCI build|https://circleci.com/gh/vinaykumarchella/cassandra/tree/CASSANDRA-13697]|


was (Author: vinaykumarcse):
 
Attaching the patch. Updated the spec with definitions for {{CAS}}, {{VIEW}} and {{CDC}}

Here is the circleci build status - https://circleci.com/gh/vinaykumarchella/cassandra/tree/CASSANDRA-13697

> 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
(v7.6.3#76005)

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