Closed JSmith-Aura closed 9 months ago
As far as I can tell, the most likely explanation is that the user deleted the attack while it was still distributing.
Therefore, the attack_id referenced in the fk was unable to be created.
I don't think this error would therefore ever be presented to the user (because if they've deleted the attack, there is nowhere to store or display an error ID).
I'm going to cautiously say this is "working as intended". If my proposed explanation was correct, then this error correctly caused the code to exit and prevent zombie jobs.
The best way to "solve" this confusing error would be to kill any distribution goroutines when a user deletes an attack, with a cancelable context, but I probably won't do that any time soon.
Closing for now, as upon further review, I'm pretty sure my analysis was right.
Howdy, getting this issues when a user tries to start a job?
Its a little bit unclear about how or why this bug is occuring, sorry.
Hashes omitted obv