kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | b1c8c4921d4cdcd934fc1d2aed2ed7b9cda0a0d0da3cb5f1db9ac4fa81b57fde |
|---|---|
| Author | Alexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-29 10:33 +01:00 |
| Committer | Alexandre Dutra <alexandre.dutra@datastax.com> · 2016-01-29 10:33 +01:00 |
| Parents | 5b9d4307c79e |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/RequestHandler.java +0 −7
| @@ -148,13 +148,6 @@ | ||
| 148 | 148 | execution.cancel(); |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | - private void logError(InetSocketAddress address, Throwable exception) { | |
| 152 | - logger.debug("Error querying {}, trying next host (error is: {})", address, exception.toString()); | |
| 153 | - if (errors == null) | |
| 154 | - errors = new ConcurrentHashMap<InetSocketAddress, Throwable>(); | |
| 155 | - errors.put(address, exception); | |
| 156 | - } | |
| 157 | - | |
| 158 | 151 | private void setFinalResult(SpeculativeExecution execution, Connection connection, Message.Response response) { |
| 159 | 152 | if (!isDone.compareAndSet(false, true)) { |
| 160 | 153 | if (logger.isTraceEnabled()) |