lucidsoftware / piezo

Piezo is a set of tools for operating a quartz scheduling cluster.
Apache License 2.0
53 stars 28 forks source link

Improve error handling when updating the trigger histories #93

Closed ribsalad closed 3 years ago

ribsalad commented 3 years ago

If a trigger misfires, insert it into the trigger histories and update on duplicate keys.

In the case of a mis fired trigger, inserting into the DB shouldn't cause an exception. Instead, we should update the existing entry to match the misfired trigger matching the primary key. This can happen many times until the trigger stops misfiring.

ribsalad commented 3 years ago

@tmccombs I see the All checks have failed showing up. How can I see why the checks failed so I can fix them? Thanks!