Hello, Could you please help to understand the purpose of a particular part of code in Cassandra codebase: org.apache.cassandra.transport.ServerConnection#getQueryState https://github.com/apache/cassandra/blob/cassandra-3.11.6/src/java/org/apache/cassandra/transport/ServerConnection.java#L46
I noticed it originally in a profiler output: [image: image.png] For each CQL connection we have here cached QueryState instances per each streamId value. This map is only dropped/garbage collected when ServerCollection is released. Can we just create a new QueryState for each request? Regards, Dmitry -- Dmitry Konstantinov