[ 
https://issues.apache.org/jira/browse/CASSANDRA-17430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh McKenzie updated CASSANDRA-17430:
--------------------------------------
    Status: Review In Progress  (was: Patch Available)

> Improve guardrails messages
> ---------------------------
>
>                 Key: CASSANDRA-17430
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17430
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Feature/Guardrails
>            Reporter: Andres de la Peña
>            Assignee: Andres de la Peña
>            Priority: Normal
>             Fix For: 4.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> As it has been mentioned by [~JoshuaMcKenzie] , current guardrail messages 
> don't mention that the warning or failure is due to the triggering of a 
> specific guardrail. For example, some error messages are:
> * {{Query for table %s with page size %s exceeds warning threshold of %s.}}
> * {{Aborting query for table %s, page size %s exceeds fail threshold of %s.}}
> * {{List operation requiring read before write is not allowed}}
> This ticket aims to improve that behaviour so the messages contain a specific 
> mention of guardrails, for example prepending a common prefix to the messages:
> * {{Guardrail page_size violated: Query for table %s with page size %s 
> exceeds warning threshold of %s.}}
> * {{Guardrail page_size violated: Aborting query for table %s, page size %s 
> exceeds fail threshold of %s.}}
> * {{Guardrail read_before_write_list_operations violated: List operation 
> requiring read before write is not allowed}}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to