scylladb/gocqlx

when use goroutine prepared cql not worked like get query

Closed this issue · 3 comments

for example when oder get , the first query will prepared use 3ms, and other will 1ms,

when goroutine, cold every query cost 3ms, the prepared cql not woked. only when get one row make the cql prepared ready.

it's like Hotspot Invalid

Hey.

The issue is related to the gocql driver and it's automated query preparation.
You need to elaborate on the issue you are facing because it's unclear what happens.

ok, i open in gocql issue and close here,THX