Commit History

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