Skip to content

Commit ff0d446

Browse files
committed
JAVA-1555: Include VIEW and CDC in WriteType
1 parent 50e7708 commit ff0d446

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

changelog/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## Changelog
22

3+
### 3.4.0 (In progress)
4+
5+
- [bug] JAVA-1555: Include VIEW and CDC in WriteType.
6+
37
### 3.3.0
48

59
- [bug] JAVA-1469: Update LoggingRetryPolicy to deal with SLF4J-353.

driver-core/src/main/java/com/datastax/driver/core/WriteType.java

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,15 @@ public enum WriteType {
4848
* A conditional write. If a timeout has this {@code WriteType}, the timeout has happened while doing the compare-and-swap for
4949
* an conditional update. In this case, the update may or may not have been applied.
5050
*/
51-
CAS;
51+
CAS,
52+
/**
53+
* Indicates that the timeout was related to acquiring locks needed for updating materialized
54+
* views affected by write operation.
55+
*/
56+
VIEW,
57+
/**
58+
* Indicates that the timeout was related to acquiring space for change data capture logs for cdc
59+
* tracked tables.
60+
*/
61+
CDC;
5262
}

0 commit comments

Comments
 (0)