Knowledge Drop

Why does regen cycle keep canceling and restarting?

Userlevel 1

Last tested: Sep 21, 2020

To look closely at the regen cycle, you can use an explore like :,pdt_event_log.created_time,pdt_event_log.action,pdt_event_log.action_data&f[pdt_event_log.connection]=&f[pdt_event_log.action]=&

, filtering on the connection where we're seeing issues.

If it seems like PDTs keep getting rebuilt at an interval that does not follow the cron specified for the connection, check to see whether the regen cycle is ending earlier than it should (regenerate end in the Action column, with regen_cancelled in the Action Data column).

If the reason for the regen cycle ending early is regen-cancelled, look more closely at SA to see what happened right before the "regenerate end" event. If there is a create sql error in the build right before the cycle is canceled, check the associated action data error message - it might be that the build is timing out on the database.

Specifically in the case where a PDT build times out, the regenerator process ends and restarts from the beginning (checks datagroups, rebuilds triggered PDTs). Once it get backs to that PDT that timed out, it will try to rebuild and if the build times out again then same thing happens all over again.

Note: If a table errors out with something else, like a syntax error, the regen process wouldn't stop early and restart. It would take until the next regen cycle for the build to be attempted again.


This content is subject to limited support.                



0 replies

Be the first to reply!