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

maxwellguo commented on CASSANDRA-15871:
----------------------------------------

For my test, I use userA to create kscas and userB to create ksgc , all are 
superuser.

But when doing connection first time use userA ,all keyspace include userB's 
ksgc are all return to driver.

It seems use permissions does not  work. 

> 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