You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2022/10/06 13:06:00 UTC

[jira] [Comment Edited] (CASSANDRA-12106) Add ability to blocklist / denylist a CQL partition so all requests are ignored

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

Stefan Miklosovic edited comment on CASSANDRA-12106 at 10/6/22 1:05 PM:
------------------------------------------------------------------------

Would it be interesting for people to have auto-deny capability? It would autodeny partitions which are logged as too big upon writing sstables to disk. Until new sstable is written, it would still accept these big rows but as soon as BigTableWriter realises it is too large, why not to autodeny it so that partition will never be written again?

Right now, it is quite tedious task to look into logs to see what is too large to investigate it and to put it into denylist. Couldnt this be automated?

the very early POC is here

[https://github.com/instaclustr/cassandra/commit/bd88d6dc1618bd618b5a6059097cb466ab13c110]


was (Author: smiklosovic):
Would it be interesting for people to have auto-deny capability? It would autodeny partitions which are logged as too big upon writing sstables to disk. Until new sstable is written, it would still accept these big rows but as soon as BigTableWriter realises it is too large, why not to autodeny it so that partition will never be written again?

the very early POC is here

https://github.com/instaclustr/cassandra/commit/bd88d6dc1618bd618b5a6059097cb466ab13c110

> Add ability to blocklist / denylist a CQL partition so all requests are ignored
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12106
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12106
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Legacy/Local Write-Read Paths, Local/Config
>            Reporter: Geoffrey Yu
>            Assignee: Josh McKenzie
>            Priority: Low
>             Fix For: 4.1-alpha1, 4.1
>
>         Attachments: 12106-trunk.txt
>
>
> Sometimes reads/writes to a given partition may cause problems due to the data present. It would be useful to have a manual way to blocklist / denylist
>  such partitions so all read and write requests to them are rejected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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