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 년 전 |
Christoph Hack
|
be4d993975
added more docs
|
12 년 전 |
Christoph Hack
|
c0835a0a1e
added batch example
|
12 년 전 |
Christoph Hack
|
f22ff84aa7
changed the cluster interface a bit. keyspace changes are now propagated correctly.
|
12 년 전 |
Christoph Hack
|
f8bac0e311
added gocql_test app
|
12 년 전 |
Christoph Hack
|
ac8fdad0db
further API improvements
|
12 년 전 |