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

Stefan Miklosovic edited comment on CASSANDRA-19532 at 4/10/24 12:12 AM:
-------------------------------------------------------------------------

Well ... reading the description on the PR about TCM replaying it with possibly 
changed config ... yeah. We are hitting something similar in CASSANDRA-12937. I 
think this will be problematic more often, everytime we mix TCM transformations 
/ replay with configuration changes ... I am not sure how to solve this.

So we probably need to abandon the introduction of guardrails in 
CreateTriggerStatement.

Neverthless, I still think that the second guardrail might be introduced. It 
would be cool to turn on / off the triggers remotely. 



was (Author: smiklosovic):
Well ... reading the description on the PR about TCM replaying it with possibly 
changed config ... yeah. We are hitting something similar in CASSANDRA-12937. I 
think this will be problematic more often, everytime we mix TCM transformations 
/ replay with configuration changes ... I am not sure how to solve this.

So we probably need to abandon the introduction of guardrails in 
CreateTriggerStatement.

Neverthless, I still think that the second guardrail might be introduced. It 
would be cool to turn on / off the guardrails remotely. 


> Allow operators to disable the execution of triggers
> ----------------------------------------------------
>
>                 Key: CASSANDRA-19532
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19532
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Other
>            Reporter: Abe Ratnofsky
>            Assignee: Abe Ratnofsky
>            Priority: Normal
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, triggers are discouraged but there's no explicit way to disable 
> them. Similar configuration already exists to disable other features, such as 
> "conf.materialized_views_enabled". There should be a means for operators to 
> gracefully disable the creation and execution of triggers.
>  
> I have a patch ready for this, getting a first review now and will push it 
> shortly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to