[
https://issues.apache.org/jira/browse/CASSANDRA-4295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489629#comment-13489629
]
Aleksey Yeschenko commented on CASSANDRA-4295:
----------------------------------------------
bq. Could we add an invalidation hook to the API so that when permissions are
changed, it can notify us and we can go through the cache and throw out
obsolete entries?
What if we enable caching for IAuthority2 only? And then invalidate the cache
after calling IAuthority2.grant() and revoke() in
GrantStatement/RevokeStatement?
> move checkaccess into statement.prepare
> ---------------------------------------
>
> Key: CASSANDRA-4295
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4295
> Project: Cassandra
> Issue Type: Improvement
> Components: API
> Affects Versions: 1.1.0
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 1.2.0
>
> Attachments: CASSANDRA-4295.patch
>
>
> there's no need to redo this every execution since the schema, tables, and
> users involved should all be immutable
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira