Chris Bannister
|
ccce5fe285
Revert "GetHosts() is now more version tolerant"
|
8 роки тому |
Chris Bannister
|
b38f2a2fa9
Merge branch 'master' into more-hostinfo
|
8 роки тому |
Vincent Rischmann
|
a56be99b0e
fix a bunch of typos
|
8 роки тому |
Derrick J. Wippler
|
58dbbb622b
GetHosts() is now more C* version tolerant
|
8 роки тому |
Derrick J. Wippler
|
baa79dc6f5
Added ConnectTimeout for initial connections to nodes
|
8 роки тому |
Charles Law
|
5bdb703774
Check TLS configs before trying to connect to anything external
|
9 роки тому |
Vincent Rischmann
|
e8ddc4f64a
replace standard logger with the global Logger
|
9 роки тому |
Chris Bannister
|
e0a2f2ca85
change HostInfo.Peer to be an IP
|
9 роки тому |
Michael Highstead
|
6e5ecf85b5
Stop retrying to connect on permanent failure
|
9 роки тому |
Chris Bannister
|
a04d2a5e3f
add queryExecutor which executes queries.
|
9 роки тому |
Muir Manders
|
441d1484e3
Fix 100ms sleep when creating session.
|
9 роки тому |
Chris Bannister
|
2d49157aa7
store the hostInfo on the connection
|
9 роки тому |
Chris Bannister
|
34ceda1fe6
try a few times to connect to a host
|
9 роки тому |
Chris Bannister
|
cda7096df5
rename debug -> gocqlDebug
|
9 роки тому |
Chris Bannister
|
c771797850
invert pool exists check to always fill on the same path
|
9 роки тому |
Chris Bannister
|
ffe7339162
log dial errors when debug enabled
|
9 роки тому |
Chris Bannister
|
21c08197d4
dont fill the host pool whilst holding the connection pools lock
|
9 роки тому |
Chris Bannister
|
d914c36699
make closing the connection pool return when closed
|
10 роки тому |
Chris Bannister
|
8e6cb50242
events: support HostFilter to filter host events
|
10 роки тому |
Thomas Adam
|
35414553e1
create pools concurrent to speedup cluster initialisation
|
10 роки тому |
Chris Bannister
|
77999d7f26
remove stray unlock
|
10 роки тому |
Chris Bannister
|
a9962b2ead
connection pool filling should finish in sync
|
10 роки тому |
Chris Bannister
|
45d098030e
add a string method for host conn pool
|
10 роки тому |
Chris Bannister
|
31a2e0157b
update the host policy from the connection pool
|
10 роки тому |
Chris Bannister
|
e8247674ac
use the port to connect to which is passed via the events
|
10 роки тому |
Chris Bannister
|
f145b65bb9
prevent deadlock with fill and node down
|
10 роки тому |
Chris Bannister
|
1c28cbd211
pool: when a dial fails assume the host is down
|
10 роки тому |
Chris Bannister
|
245c78980f
fix a race where the policy and connection pool share a single slice of connections but have independant locks
|
10 роки тому |
Chris Bannister
|
023d93bc08
try to fill the connection pool more often
|
10 роки тому |
Chris Bannister
|
a278050d25
connection pool now stores its host, simplify creation of pool in session
|
10 роки тому |