Details
-
New Feature
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Operability
-
Challenging
-
All
-
None
-
Description
The purpose of this ticket is creating an initial implementation of the guardrails framework, as well as adding a few simple guardrails using this framework.
To keep things easy, this initial implementation would only support guardrails that are triggered on the coordinator, and they would be dynamically updatable only through JMX.
Once we have this initial framework ready in a feature branch we can have multiple tickets addressing all the things that would have been left out of the scope of this ticket, such as:
- Dynamic updates through virtual tables
- Being able to notify about guardrails triggered on replicas
- Using custom exceptions other than InvalidRequestException.
- Porting existing limits to use the new guardrails framework
- Adding new guardrails beyond the initial ones
The reason for having this simpler prototype is that it will give us a common ground to parallelize work on the parts mentioned above.
Attachments
Issue Links
- is related to
-
CASSANDRA-17195 Migrate thresholds for number of keyspaces and tables to guardrails
- Resolved
- is required by
-
CASSANDRA-17150 Guardrails for disk usage
- Resolved
-
CASSANDRA-17152 Guardrail for partition size
- Resolved
-
CASSANDRA-17153 Guardrails for collection items and size
- Resolved
-
CASSANDRA-17154 Guardrail to disable read-before-write list operations
- Resolved
-
CASSANDRA-17212 Migrate threshold for minimum keyspace replication factor to guardrails
- Resolved
-
CASSANDRA-17148 Adapt track_warnings to Guardrails
- Triage Needed
-
CASSANDRA-17149 Make Guardrails configurable through virtual tables
- Triage Needed