[
https://issues.apache.org/jira/browse/CASSANDRA-21606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dmitry Konstantinov updated CASSANDRA-21606:
--------------------------------------------
Change Category: Performance
Complexity: Normal
Fix Version/s: 6.x
7.x
Status: Open (was: Triage Needed)
> Optimize BatchStatement.authorize for the case when a single table is updated
> -----------------------------------------------------------------------------
>
> Key: CASSANDRA-21606
> URL: https://issues.apache.org/jira/browse/CASSANDRA-21606
> Project: Apache Cassandra
> Issue Type: Improvement
> Components: Feature/Authorization
> Reporter: Dmitry Konstantinov
> Assignee: Dmitry Konstantinov
> Priority: Normal
> Fix For: 6.x, 7.x
>
> Attachments: image-2026-08-25-13-32-06-773.png
>
>
> We spend about 5.4% of CPU to authorize batches with 10 rows, for a write
> load if authorization is enabled.
> If the table is the same for all rows, we need to check it only once.
> write test:
> https://issues.apache.org/jira/browse/CASSANDRA-18831?focusedCommentId=18056293&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-18056293
>
> !image-2026-08-25-13-32-06-773.png|width=600!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]