scylladb / gocql

Package gocql implements a fast and robust ScyllaDB client for the Go programming language.

Home Page:https://docs.scylladb.com/stable/using-scylla/drivers/cql-drivers/scylla-go-driver.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Client is sending OPTIONS command to all shards in a node - while it should be sufficient to get it from a single shard

mykaul opened this issue · comments

The response (SUPPORTED) will be the same from all shards - it's useless to send it to all shards and just an overhead to both sides.
(note: seen in a packet capture - unsure what driver was used, I suspect the GoCQL driver)

Note that options frame is often used as L7 ping due to the lack of better alternatives.

Note that options frame is often used as L7 ping due to the lack of better alternatives.

Good to know! TCP keepalive (while not L7) seems sufficient to me though.

Could it be that it needs it for SCYLLA_SHARD_AWARE_PORT information?

#162 is not fixing it, but making it less noisy.