33 Patch |
1 Review |
c6834ac9cb2064f4e6869087dba2dd3f7d746dfe,
b32959d9de834f4f741c260ca93f678687227ed7,
a85000225f2fb6443e8e66d6757246d2d05d2d7f,
1c0a0be3b09cb3c699190478b9f108abfdb2e4e7,
c181f96d40a661eb8d68bd45ec1dcfe44a10c46d,
a4e3a8a5a67a6a408a1b077c7d11eeec8d59a27a,
5e1e5107c91c3546e5cc81a29cbccdbbaff0f82b,
2027e27b860057a1c8680c1df0d89e544065eeeb,
8ab4efdb69cf8a81398815f69dd9c833871a0e84,
b1d03c07d451d93e7126a06f8a4a8d74d6ef8d30,
e6594d1cbed4d2ad5e83b8368f1010c90f0f1b7c,
c2f13dbe649b0695b3aa998692367d55a7959e11,
662babcd735b13739245ef155a6a46bb9f11c1e3,
f4eed33caab2d692f9d2e2c119a762af2724c0f8,
15d264e59ac98d34680bbed58ccc60690bafd779,
563289f7fa89a4e0ea703cca57d427c2ca95602d,
067f1d97a1892bb78fdd2a68fa473cc54039601a,
fcbfef812bd226657b72f4bdfb65663ef77af192,
6bd4991048e0afb3cc1eb221677b8344caec4b3e,
c55ff4c289b2aec2444c82ba2cc7687cd6e770c5,
84f56c273df51b95cb37d01cdb81283ee09e389c,
ae94ebd56a0b05b7b0ce72088aafe94e3ac123e6,
ff637324ea0210172688a0e2229b07c56feb5793,
9a81e4470c2d45d61d8f08b962597b0a3be0677f,
289be8e59af39fa771d5074e1c87a34900420acc,
8cb77c493c3ac30b9bdeff1195e28df0b1ba7c52,
bc84386793ed7b78a4ee18117e0f132100322a01,
f394f748aa72daab9cdc0141d91c5f7ced7e1ee6,
fe1094a469fc81c4b900cff014c9c1bd01d4f0f6,
493048a234e6aa25e90884822a1f2d75820ff4dd,
00a463896f48bf9f45a45d7687e7c9f681e99b04,
c5110c2d18babfb0a5594ef6d63219500bed1eae,
2e7f881b8f14989d45197ddbb08e5f2555747a02 |
cb67bfc1639ded1b6937e7347ad42177ea3f24e3 |
c6834ac9cb2064f4e6869087dba2dd3f7d746dfe | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2020-03-26 10:10:33-05:00
JAVA-2679: Add port information to QueryTrace and TraceEvent (#1411)
* JAVA-2679: Add port information to QueryTrace and TraceEvent
a85000225f2fb6443e8e66d6757246d2d05d2d7f | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2020-03-24 12:35:26-05:00
JAVA-2105: Transient Replication Support (#1414)
* JAVA-2105: Transient Replication Support
662babcd735b13739245ef155a6a46bb9f11c1e3 | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2020-01-31 15:47:04-06:00
JAVA-2625: Provide user-friendly programmatic subclass of DseGssApiAuthProviderBase
c2f13dbe649b0695b3aa998692367d55a7959e11 | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2019-12-06 10:04:33-06:00
JAVA-2479: Fix deprecation warnings after upgrade of TinkerPop (#312)
* Fix deprecation warnings after upgrade of TinkerPop
563289f7fa89a4e0ea703cca57d427c2ca95602d | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2019-10-18 15:08:04-05:00
JAVA-2484: Add errors for cloud misconfiguration (#20)
* JAVA-2484: Add errors for cloud misconfiguration
84f56c273df51b95cb37d01cdb81283ee09e389c | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2019-05-31 17:37:55-05:00
JAVA-2138: Allow query methods to customize statement attributes via annotations
ae94ebd56a0b05b7b0ce72088aafe94e3ac123e6 | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2019-05-14 15:19:52-05:00
JAVA-2139: Allow query methods to receive statement attributes via an argument
9a81e4470c2d45d61d8f08b962597b0a3be0677f | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2019-01-29 15:55:18-06:00
Java2063 Normalize authentication error logging. (#1176)
* JAVA-2063: Normalize authentication logging
289be8e59af39fa771d5074e1c87a34900420acc | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2018-12-18 06:23:05-06:00
JAVA-2066: Array index range error when fetching routing keys on bound statements (#1155)
8cb77c493c3ac30b9bdeff1195e28df0b1ba7c52 | Author: olim7t <omichallat+github@gmail.com>
| 2018-10-23 14:57:08-07:00
JAVA-2000: Fix ConcurrentModificationException during channel shutdown
Motivation:
When a channel is shut down abruptly we iterate the inFlight map in
abortAllInFlight() to fail all pending queries. But in some cases,
failing a query will also indirectly mutate the map, causing a
ConcurrentModificationException.
We ran into this particular scenario:
- the channel initializes and the write of the initial STARTUP query is
scheduled (but the write future is not complete yet)
- during the actual write task, an IOException is thrown ("connection
reset by peer"). exceptionCaught() is called and invokes
abortAllInFlight().
- abortAllInFlight() calls onFailure() on the
ProtocolInitHandler.InitRequest corresponding to the STARTUP request.
That calls ConnectInitHandler.setConnectFailure(), which closes the
channel.
- closing the channel fails the write future of the STARTUP query, which
invokes the write listener synchronously. The listener calls release()
which removes the callback from inFlight.
- the initial iteration resumes and finds out that the map was modified.
Similar issues could happen if one of the aborted requests is a
SetKeyspaceRequest that calls abortAllInFlight() recursively.
Modifications:
- don't iterate inFlight directly, make a copy to avoid concurrent
modifications.
- clear it immediately so that recursive invocations of
abortAllInFlight() have no effect.
- ensure release() is lenient if the callback is not in inFlight. For
clarity, also change it to never return the callback, the caller has
to retrieve it itself (as already done in channelRead).
Result:
The initial call to abortInFlight() clear inFlight and fails the STARTUP
query. When the write listener invokes release(), that's a no-op because
the callback is not in the map anymore.
Co-authored-by: Greg Bestland <Greg.Bestland@datastax.com>
493048a234e6aa25e90884822a1f2d75820ff4dd | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2018-08-07 11:29:36-05:00
JAVA-1927 fix issue with unused native port (#1066)
* JAVA-1927 fix issue with unused native port
00a463896f48bf9f45a45d7687e7c9f681e99b04 | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2018-07-30 14:49:51-05:00
JAVA-1900: Support virtual tables (aka system views) (#1054)
* Java-1900 Adding system views
c5110c2d18babfb0a5594ef6d63219500bed1eae | Author: Greg Bestland <Greg.Bestland@datastax.com>
| 2018-06-26 14:20:08-05:00
JAVA-1847: Node level request tracking (#1028)
* JAVA-1847 Node level request tracking