Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
Description
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 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.