Ben Hood
|
5e5d698a1b
Added query args length check to batch statements
|
%!s(int64=11) %!d(string=hai) anos |
Ben Hood
|
553692227e
Merge upstream master
|
%!s(int64=11) %!d(string=hai) anos |
Ben Hood
|
7fd92f1209
Introduce handling for query argument length mismatches
|
%!s(int64=11) %!d(string=hai) anos |
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.
|
%!s(int64=11) %!d(string=hai) anos |
Phillip Couto
|
7d8a91b15d
Created lru cache using the groupcache/lru package.
|
%!s(int64=11) %!d(string=hai) anos |
Nimi Wariboko
|
9a7025c769
Check if flight or flight.info is not nil. Without this check a panic then subsequent deadlock can occur
|
%!s(int64=11) %!d(string=hai) anos |
Nimi Wariboko Jr
|
225752acef
Replace case that was made invalid when error structs were exposed to conn.executeQuery for ErrUnprepared.
|
%!s(int64=11) %!d(string=hai) anos |
Nimi Wariboko Jr
|
5f2aeff0ed
If a batch fails because of an unprepared statement, reprepare the statement and redo the batch.
|
%!s(int64=11) %!d(string=hai) anos |
Ben Hood
|
142a1f6f39
Merge pull request #161 from ChannelMeter/error_response_refactor
|
%!s(int64=11) %!d(string=hai) anos |
Nimi Wariboko Jr
|
ebd7b8e505
Updated conn.go to use new error syntax
|
%!s(int64=11) %!d(string=hai) anos |
Phillip Couto
|
3783dd1c40
Created the Connection Pool interface and converted the existing connection pool logic to a SimplePool interface.
|
%!s(int64=11) %!d(string=hai) anos |
Miguel Serrano
|
e93451502d
Remove check for available streams
|
%!s(int64=11) %!d(string=hai) anos |
mihasya
|
818bd933bd
provide some details when encountering a protocol error
|
%!s(int64=11) %!d(string=hai) anos |
Harpreet Sawhney
|
e2550da4d8
un exporting the shouldQuery method
|
%!s(int64=11) %!d(string=hai) anos |
Harpreet Sawhney
|
6ed2c7d73f
(cleanup) move shouldPrepare func to being a Query type method
|
%!s(int64=11) %!d(string=hai) anos |
Harpreet Sawhney
|
5cbfbc041f
(cleanup) breaking out compressor from conn
|
%!s(int64=11) %!d(string=hai) anos |
Phillip Couto
|
466e11f6c4
Merge pull request #144 from phillipCouto/prevent_use_keyspace
|
%!s(int64=11) %!d(string=hai) anos |
Phillip Couto
|
5cf7b6ee4c
Cleaned up code to streamline the connection being added to the pool and removed code related to old keyspace behaviour.
|
%!s(int64=11) %!d(string=hai) anos |
Chris Bannister
|
abb0fcdcb0
Fix data race when reading conn.isClosed
|
%!s(int64=11) %!d(string=hai) anos |
Harpreet Sawhney
|
577cd1b366
close connections properly
|
%!s(int64=11) %!d(string=hai) anos |
Chris Bannister
|
8d6a888d74
Dont hide the error from write
|
%!s(int64=11) %!d(string=hai) anos |
Ben Hood
|
e6ccb9722d
Merge pull request #137 from Zariel/always-handle-error
|
%!s(int64=11) %!d(string=hai) anos |
Chris Bannister
|
eebae68aa6
Instead of checking for timeouts check for Tempoary errors, which will allow 5 timeouts before returning false
|
%!s(int64=11) %!d(string=hai) anos |
Chris Bannister
|
32a6094508
Whenever the connection is closed always call cluster.HandleError
|
%!s(int64=11) %!d(string=hai) anos |
Staņislavs Koikovs
|
c7da189348
Small clean up
|
%!s(int64=11) %!d(string=hai) anos |
Staņislavs Koikovs
|
c0906d8c0d
Normalize statement before initialization
|
%!s(int64=11) %!d(string=hai) anos |
Staņislavs Koikovs
|
5b6f1833ee
Moved to shouldPrepare func
|
%!s(int64=11) %!d(string=hai) anos |
Staņislavs Koikovs
|
79258bbfc0
Small refactoring
|
%!s(int64=11) %!d(string=hai) anos |
Staņislavs Koikovs
|
9de086929b
Handle unlogged and counter batches as well
|
%!s(int64=11) %!d(string=hai) anos |
Christoph Hack
|
8c74b3cf90
Merge pull request #124 from nemothekid/cass1batchbug
|
%!s(int64=11) %!d(string=hai) anos |