Martin Sucha

Results 163 comments of Martin Sucha

Depends on how you define fully supported... Do you have any particular features in mind? If you use protocol version 4 (the latest stable version at the moment), which is...

@nathandragun I've just tried to run that code to connect code against `cassandra:4.0@sha256:f359dd19859c45ad5924c20de2dd629f701513a1f0069695c07425bb4c2344d3` (which is `4.0-beta3`) Docker image (with default settings) and I didn't see any errors. Please open a...

Once https://github.com/gocql/gocql/pull/1629 is merged, it should allow you to use custom TLS connection setup, so you could use `host_id` in the SNI server name.

Hmm. Interesting issue. How do you set the keyspace? Do you use ClusterConfig.Keyspace? It would help to see network capture of the request in this case to see what the...

Good question! It seems that connections are now closed only when there is a write error or 5 consecutive heartbeats fail. The ConvictionPolicy indeed seems to apply only to newly...

It seems that it is not straightforward to introduce sync.Pool for reusing the buffers. We'd need to change the `Compressor` interface. Do snappy and lz4 compression libraries allow reusing the...

What I meant is that gocql's [Compressor](https://pkg.go.dev/github.com/gocql/gocql#Compressor) interface https://github.com/gocql/gocql/blob/0eacd31836251d409774cd626b5c7e8d61b323db/compressor.go#L7-L11 has methods that return a new buffer instead of writing to a provided buffer. Compressor interface implementation creates a new buffer...

Currently it is not possible to read the keyspace or other config options from a `*Session`. However, the config is immutable for the lifetime of the session. I don't see...

Shouldn't the method check for the error first? :thinking: ```go func (v *NullTime) UnmarshalCQL(info gocql.TypeInfo, data []byte) error { var t *time.Time err := gocql.Unmarshal(info, data, &t) if err !=...