Open mkindahl opened 3 years ago
Workaround: configure a custom job.
Curious - I'm not familiar with how to configure a custom job? How might I do that?
We just ran into this issue as well. For some reason, our jobs end up hanging and never completing, if the threshold is too far back, this happens every once in a while. We were thinking of breaking up our refresh policies so that they only covers small range each.
@bendoerr see https://docs.timescale.com/api/latest/actions/ The body of the action would be a simple call to refresh_continuous_aggregate()
When creating a continuous aggregate it is possible to add a refresh policy to it to make sure that a particular range is updated, for example:
Trying to add a second continuous aggregate policy results in an error.
Instead of generating an error, support adding multiple policies for a continuous aggregate.