[ 
https://issues.apache.org/jira/browse/CASSANDRA-15871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17137803#comment-17137803
 ] 

Brandon Williams commented on CASSANDRA-15871:
----------------------------------------------

bq. different users can get all the schemas information when first made a 
connection

Use permissions to prevent them from being able to do that.

> Cassandra driver first  connection get the user's own schema information
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-15871
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15871
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Cluster/Schema, Messaging/Client
>            Reporter: maxwellguo
>            Priority: Normal
>         Attachments: 1.jpg
>
>
> We know that cassandra driver making a conenction with the coordinator node 
> first time , the driver may select all the keyspaces/tables/columns/types 
> from the server and cache the data locally. 
> For different users they may have different tables and types ,so It is not 
> suitable to get all the meta data cached , It is fine to just cache the 
> user's own schema information not all.
>  And doing this is safe and save first time connection resourse.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to