You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Bernardo Botella Corbi (Jira)" <ji...@apache.org> on 2026/10/20 10:06:00 UTC
[jira] [Created] (CASSANDRA-21787) Length and octect length constraints parse the term every single evaluation
Bernardo Botella Corbi created CASSANDRA-21787:
--------------------------------------------------
Summary: Length and octect length constraints parse the term every single evaluation
Key: CASSANDRA-21787
URL: https://issues.apache.org/jira/browse/CASSANDRA-21787
Project: Apache Cassandra
Issue Type: Improvement
Reporter: Bernardo Botella Corbi
Right now, those constraints are doing a parse int for every evaluation. Given that this is on the write path, it is an easy improvement to do what regex constraint does and just parse it at the validation step.
This was a finding from the CoC 2026 talk in Glasgow.
--
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