Chris Bannister
|
ccce5fe285
Revert "GetHosts() is now more version tolerant"
|
пре 8 година |
Derrick J. Wippler
|
58dbbb622b
GetHosts() is now more C* version tolerant
|
пре 8 година |
Vincent Rischmann
|
e8ddc4f64a
replace standard logger with the global Logger
|
пре 9 година |
Chris Bannister
|
e0a2f2ca85
change HostInfo.Peer to be an IP
|
пре 9 година |
Marcus
|
4f49cd01c8
Added a nil check before trying to use a host to execute a query. This was causing nil pointer dereference exceptions as described at https://github.com/gocql/gocql/issues/743. Also made some optimizations to reduce lock scoping in the TokenAwareHostPolicy
|
пре 9 година |
Chris Bannister
|
a04d2a5e3f
add queryExecutor which executes queries.
|
пре 9 година |
Chris Bannister
|
ee01750ae2
polcies: dont mark a removed host
|
пре 9 година |
Chris Bannister
|
1b7cc11fed
conn selection: use copy on write for conn list
|
пре 9 година |
Chris Bannister
|
f1abbcdcb2
conn selection: chose the least used conneciton
|
пре 9 година |
Max Ekman
|
6eee003f22
Fix a panic that could happen when using the TokenAwareHostPolicy
|
пре 9 година |
Matt Heath
|
e89ce0fd07
Fix Unlock of unlocked RWMutex when removing a host from a host policy
|
пре 10 година |
Chris Bannister
|
02e16dfe04
add string method for cow host list
|
пре 10 година |
Chris Bannister
|
af634bb091
add the host to the fallback policy as well as the token aware one
|
пре 10 година |
Chris Bannister
|
c1597c8274
HostInfo is now a pointer everywhere
|
пре 10 година |
Chris Bannister
|
be960bdc91
working tmp
|
пре 10 година |
Chris Bannister
|
35a8da1daa
fix cow host list
|
пре 10 година |
Chris Bannister
|
5c1118aa01
start replacing host discovery with events
|
пре 10 година |
Chris Bannister
|
732282f2ca
add support for events
|
пре 10 година |
Chris Bannister
|
f6027742da
policies: check available streams on conn
|
пре 10 година |
Chris Bannister
|
8d7aab2f32
policies: ensure NextHost is nil
|
пре 10 година |
Johnny Bergström
|
45f8dd5d8c
Minor tweaks to round robin policy
|
пре 10 година |
Daniel Cannon
|
fad1a72d20
Fix deadlock with HostPoolHostPolicy
|
пре 10 година |
Daniel Cannon
|
76d7214745
Update documentation
|
пре 10 година |
Daniel Cannon
|
8585d308f7
Add HostPoolHostPolicy policy
|
пре 10 година |
Daniel Cannon
|
4c27e0075d
Return host status to the host selection policy
|
пре 10 година |
Chris Bannister
|
50b9680b45
Remove SimpleConnPool, remove custom pools
|
пре 10 година |
Chris Bannister
|
27c2532d9f
fix tokenaware policy when using session.Bind
|
пре 10 година |
Baptiste Fontaine
|
c6894e3f42
Typo fixed in RetryPolicy doc
|
пре 10 година |
Baptiste Fontaine
|
d9338a7b51
SimpleRetryPolicy doc format fixed
|
пре 10 година |
Chris Bannister
|
1d1b72e21a
Ensure we hold a read lock to check hosts
|
пре 10 година |