Michael Highstead all time


 0 Collaborator

 2 Patch
25729d9d263622042b2feed5ad658131266cffe7, 6e5ecf85b5f387dc5a6f68f8366ba8258adfbeb8

25729d9d263622042b2feed5ad658131266cffe7 | Author: Michael Highstead <michael.highstead@shopify.com>
 | 2017-05-06 17:21:19-04:00

    Support for UnSet columns (#903)
    
    * Support for UnSet columns
    
    - Adding support for the UNSET_VALUE in gocql
    
    References:
    - Cassandra: https://issues.apache.org/jira/browse/CASSANDRA-7304
    - gocql/gocql#861
    
    >     Protocol version 4 specifies that bind variables do not require having a
    >     value when executing a statement. Bind variables without a value are
    >     called 'unset'. The 'unset' bind variable is serialized as the int
    >     value '-2' without following bytes.
    
    * Adding tests
    
    * Skipping tests if not in protocol v4
    
    * Code review changes
    
    - Moved Unmarshal to individual unmarshal functions
    - Added error handling for tuples and UDTs

6e5ecf85b5f387dc5a6f68f8366ba8258adfbeb8 | Author: Michael Highstead <michael.highstead@shopify.com>
 | 2016-07-12 22:00:36-04:00

    Stop retrying to connect on permanent failure
    
    Minor change to the connection pool code that uses the *net.OpError type
    to pull of retrying to connect to a host if the error is a permanent
    erorr.
    
    Reduces startup time on creating a new sesession when we try to
    establish a connection using gocql that does not have visibility to the
    host.
    
    Performance improvement easily reproduced when using default cassandra
    docker container with gocql.