lucidsoftware / piezo

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

Use current time instead of 1970 when recording triggers without a start_time #67

Closed jjudd closed 7 years ago

jjudd commented 7 years ago

When a trigger misfires, we add that trigger to the trigger history. However, we do not have the fire_instance_id and start_time when the trigger misfires. Those values are part of the primary key. Accordingly, when we logged misfires multiple times, we encounter duplicate primary key errors.