Ability to disable models in Rill completely#9616
Conversation
|
to understand the behavior more here - When the model reconcilation is paused, would it still reconcile metrics view and dashboards or get those in error state as the model execution threw error ? I wonder if instead of throwing error, we do a WARN and make the model reconcile no-op and complete with success so that the underlying metrics view reconcile. I am also if we might be able to use this for cases when a user only wants to make changes to metrics view and not any models ? |
Depends:
That feels like it can have some unintended consequences like model success but no data. If refresh is not set then it will require explicit refresh after unpause. |
|
is there any other state other than error we can return ? e.g. not_executed ? instead of passing it? so that when its unpaused it executes ? |
@begelundmuller and I discussed on such solutions. The overall impression was that controller is already quite complex but very stable over more than a 1 year and building such solutions adds another layer to that.
|
FYI, when unpaused, it will re-execute immediately. So the "error" is ephemeral for the duration of the pause, it is not a persistent error. |
|
@codex: resolve conflicts and review then |
|
Summary
Testing
|
983b237 to
2c95d8c
Compare
* Add a env to disable execution of models * property change * Gate system sync replica behind a config (#9615)
closes https://linear.app/rilldata/issue/ENG-1119/ability-to-pause-and-unpause-reconciler#comment-68e95a7d
Checklist: