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

Andres de la Peña commented on CASSANDRA-17430:
-----------------------------------------------

||PR||CI||
|[trunk|https://github.com/apache/cassandra/pull/1496]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/1351/workflows/d92d9e48-9959-4d24-ad6a-9a82fe755b86]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/1351/workflows/93a51ba3-2ce3-40ea-9ea4-6be470d62687]​|

> 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
>
> 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