cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-8303) Provide "strict mode" for CQL Queries
Date Mon, 12 Jan 2015 12:28:36 GMT


Aleksey Yeschenko commented on CASSANDRA-8303:

bq. I agree that it's probably less useful than other restrictions, but I can see it as useful
for large organizations that want to enforce this easily. And since it seems easy enough to
include and without any real downside, I'd be personally keen on including it from the start.

The downside is that it doesn't fit anywhere in the hierarchy, and it doesn't fit the current
model, code-wise - we call  checkAccess() on an already prepared statement. Would have to
add another check to prepare() itself, which is a mess - even if we did find a way to fit
it somewhere in the hierarchy. So -1 on using authz for limiting unprepared statements - in
first version or ever. This is just abuse of the authorization subsystem.

> Provide "strict mode" for CQL Queries
> -------------------------------------
>                 Key: CASSANDRA-8303
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Anupam Arora
>             Fix For: 3.0
> Please provide a "strict mode" option in cassandra that will kick out any CQL queries
that are expensive, e.g. any query with ALLOWS FILTERING, multi-partition queries, secondary
index queries, etc.

This message was sent by Atlassian JIRA

View raw message