mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 00:50:35 +00:00
I used the following as a reference: https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/virtual/ClientsTable.java At this moment there is only info about IP, clients outgoing port, client 'type' (i.e. CQL/thrift/alternator), shard ID and username. Column `request_count' is NOT present and CK consists of (`port', `client_type'), contrary to what C*'s has: (`port'). Code that notifies `system.clients` about new connections goes to top-level files `connection_notifier.*`. Currently only CQL clients are observed, but enum `client_type` can be used in future to notify about connections with other protocols.