Nick DHUPIA
|
12fdedb378
added ssl/tls feature for gocql
|
11 jaren geleden |
juliendsv
|
14c1e9774c
update AUTHORS and remove const
|
11 jaren geleden |
juliendsv
|
838e2ab56b
DefaultPort to Port: I tink it make more sense like that
|
11 jaren geleden |
Chris Bannister
|
db852cdf07
Fail fast if no seeds are available
|
11 jaren geleden |
Chris Bannister
|
358e2503dd
Pass by HostInfo instead of the peer address
|
11 jaren geleden |
Chris Bannister
|
33220784c3
Add periodic node discovery with optional filters
|
11 jaren geleden |
Phillip Couto
|
567a7eaaba
Moved preparedLRU definition to cluster.go as it seems more fitting. Reduced scope of locking for the prepared statement cache in the error handling code when executing batch statement. Improved the test cases.
|
11 jaren geleden |
Phillip Couto
|
f56b352c90
Added missing cluster configuration option to adjust the size of the cache.
|
11 jaren geleden |
Ben Frye
|
e42185c430
Comments and Readme changes
|
11 jaren geleden |
Ben Frye
|
a3fe3be866
Removed redundant Boolean == checks in if
|
11 jaren geleden |
Ben Frye
|
d51aff24a7
Added configuration item for DiscoverHosts
|
11 jaren geleden |
Ben Frye
|
c2a38e6498
changed !exists to exists == false
|
11 jaren geleden |
Ben Frye
|
9103d84985
When creating a session, gocql queries the cluster and fills out the Hosts based on what the cluster has configured.
|
11 jaren geleden |
Phillip Couto
|
06eb28df61
Rebased branch. Fixed code that was altered from the rebase.
|
11 jaren geleden |
Phillip Couto
|
3783dd1c40
Created the Connection Pool interface and converted the existing connection pool logic to a SimplePool interface.
|
11 jaren geleden |
Chris Bannister
|
ef525ee05c
Use better error messages instead of ErrUnavailable
|
11 jaren geleden |
Phillip Couto
|
1bce19d061
Added code to debounce requests to fillPool when calls are in a tight
|
11 jaren geleden |
Phillip Couto
|
b46e7c51e1
Changed the reconnection logic to reduce the flood of reconnects. Also fixed incorrect keyspace on CreateSession.
|
11 jaren geleden |
Phillip Couto
|
5cf7b6ee4c
Cleaned up code to streamline the connection being added to the pool and removed code related to old keyspace behaviour.
|
11 jaren geleden |
Chris Bannister
|
daf8c8f8a6
When closing a cluster rmeove its connections instead of closing them
|
11 jaren geleden |
Chris Bannister
|
52364c6341
Add an option to enable TCP keepalive.
|
11 jaren geleden |
Phillip Couto
|
e01e597535
added impl.close() to make sure the connections stop retrying after returning error to user. Added test case to make sure CreateSession does not block indefinitely again.
|
11 jaren geleden |
Phillip Couto
|
9a81a8c31c
Added a cluster parameter to define StartupTimeout. Fixed issue where a CreateSession would block trying to connect indefinitely when no hosts are available to connect to.
|
11 jaren geleden |
Phillip Couto
|
e2264bb7f8
Added retry policies for Query and Batch Statements. Policies can be defined at the cluster or per query. Added test cases for retries and added test case for batch statement limits.
|
11 jaren geleden |
Christoph Hack
|
441cb3e513
increase default connection timeout significantly
|
12 jaren geleden |
Christoph Hack
|
788922259a
added password authentication support for Cassandra 2
|
12 jaren geleden |
Alex
|
e3fa68bc6b
Fix #40 pool/reconnection issue as suggested by @Kimbsen
|
12 jaren geleden |
Phillip Couto
|
b0851cd54f
Removed unnecessary check for nil in cluster.go. Ran gofmt on files that
|
12 jaren geleden |
Phillip Couto
|
49545d685d
Added code to output an error on CreateSession when the user provides an
|
12 jaren geleden |
Ghais Issa
|
8013aaede6
Properly set the consistency when generating new sessions
|
12 jaren geleden |