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