Skip to content

Commit 0df59d9

Browse files
Update log message to inform about incorrect CL for read repair (#1568)
1 parent edbccde commit 0df59d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

driver-core/src/main/java/com/datastax/driver/core/exceptions/ReadTimeoutException.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ public ReadTimeoutException(
4242
super(
4343
endPoint,
4444
String.format(
45-
"Cassandra timeout during read query at consistency %s (%s)",
45+
"Cassandra timeout during read query at consistency %s (%s). "
46+
+ "In case this was generated during read repair, the consistency level is not representative of the actual consistency.",
4647
consistency, formatDetails(received, required, dataPresent)),
4748
consistency,
4849
received,

0 commit comments

Comments
 (0)