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.
|
před 11 roky |
Phillip Couto
|
f56b352c90
Added missing cluster configuration option to adjust the size of the cache.
|
před 11 roky |
Ben Frye
|
e42185c430
Comments and Readme changes
|
před 11 roky |
Ben Frye
|
a3fe3be866
Removed redundant Boolean == checks in if
|
před 11 roky |
Ben Frye
|
d51aff24a7
Added configuration item for DiscoverHosts
|
před 11 roky |
Ben Frye
|
c2a38e6498
changed !exists to exists == false
|
před 11 roky |
Ben Frye
|
9103d84985
When creating a session, gocql queries the cluster and fills out the Hosts based on what the cluster has configured.
|
před 11 roky |
Phillip Couto
|
06eb28df61
Rebased branch. Fixed code that was altered from the rebase.
|
před 11 roky |
Phillip Couto
|
3783dd1c40
Created the Connection Pool interface and converted the existing connection pool logic to a SimplePool interface.
|
před 11 roky |
Chris Bannister
|
ef525ee05c
Use better error messages instead of ErrUnavailable
|
před 11 roky |
Phillip Couto
|
1bce19d061
Added code to debounce requests to fillPool when calls are in a tight
|
před 11 roky |
Phillip Couto
|
b46e7c51e1
Changed the reconnection logic to reduce the flood of reconnects. Also fixed incorrect keyspace on CreateSession.
|
před 11 roky |
Phillip Couto
|
5cf7b6ee4c
Cleaned up code to streamline the connection being added to the pool and removed code related to old keyspace behaviour.
|
před 11 roky |
Chris Bannister
|
daf8c8f8a6
When closing a cluster rmeove its connections instead of closing them
|
před 11 roky |
Chris Bannister
|
52364c6341
Add an option to enable TCP keepalive.
|
před 11 roky |
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.
|
před 11 roky |
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.
|
před 11 roky |
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.
|
před 11 roky |
Christoph Hack
|
441cb3e513
increase default connection timeout significantly
|
před 12 roky |
Christoph Hack
|
788922259a
added password authentication support for Cassandra 2
|
před 12 roky |
Alex
|
e3fa68bc6b
Fix #40 pool/reconnection issue as suggested by @Kimbsen
|
před 12 roky |
Phillip Couto
|
b0851cd54f
Removed unnecessary check for nil in cluster.go. Ran gofmt on files that
|
před 12 roky |
Phillip Couto
|
49545d685d
Added code to output an error on CreateSession when the user provides an
|
před 12 roky |
Ghais Issa
|
8013aaede6
Properly set the consistency when generating new sessions
|
před 12 roky |
Phillip Couto
|
c0c4dafb44
Resolved issue of connections reconnecting in an infinite loop consuming
|
před 12 roky |
Phillip Couto
|
bbc31839c5
Resolved issue with keyspace defined at cluster not being set at the
|
před 12 roky |
Christoph Hack
|
e9d35a3dfc
ensure compatibilty with go1.1
|
před 12 roky |
Christoph Hack
|
83c5eba575
iteration over paged results
|
před 12 roky |
Christoph Hack
|
d7b351c455
added snappy support
|
před 12 roky |
Christoph Hack
|
ec8aa7ca9c
improved frame parsing, support protocol v1
|
před 12 roky |