kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 4f91f988cb6cfeb68899b7c715ea3bac427c84922c391e8af16daf52ecb11ef6 |
|---|---|
| Author | Olivier Michallat <olim7t@users.noreply.github.com> · 2016-06-27 11:06 -07:00 |
| Committer | GitHub <noreply@github.com> · 2016-06-27 11:06 -07:00 |
| Parents | 477a0fea0b6a |
2 files changed
modified changelog/README.md +1 −0
| @@ -8,6 +8,7 @@ | ||
| 8 | 8 | been init'd. |
| 9 | 9 | - [improvement] JAVA-1204: Update documentation to indicate tcnative version requirement. |
| 10 | 10 | - [bug] JAVA-1186: Fix duplicated hosts in DCAwarePolicy warn message. |
| 11 | +- [bug] JAVA-1187: Fix warning message when local CL used with RoundRobinPolicy. | |
| 11 | 12 | |
| 12 | 13 | |
| 13 | 14 | ### 3.0.2 |
modified driver-core/src/main/java/com/datastax/driver/core/policies/RoundRobinPolicy.java +1 −1
| @@ -102,7 +102,7 @@ | ||
| 102 | 102 | hasLoggedLocalCLUse = true; |
| 103 | 103 | logger.warn("Detected request at Consistency Level {} but the non-DC aware RoundRobinPolicy is in use. " |
| 104 | 104 | + "It is strongly advised to use DCAwareRoundRobinPolicy if you have multiple DCs/use DC-aware consistency levels " |
| 105 | - + "(note: this message will only be logged once)", statement.getConsistencyLevel()); | |
| 105 | + + "(note: this message will only be logged once)", cl); | |
| 106 | 106 | } |
| 107 | 107 | } |
| 108 | 108 |