So, I'm pulling my hair out here, and maybe someone has an insight.
I have a cronjob that loops over all my Link
objects, does some stuff, might change properties on the object and does a save()
. That's it.
Every so often (around once an hour), one of my rows just disappears. Poof. Nothing in the logs.
So, I'm trying to add debugging statements everywhere, but are there any glaring reasons for an entry to disapear? Is the only way to remove an entry by calling delete()
?
Just any general directions to go would be wonderful, thank you.
Some ideas I've had:
- git push while the cronjob is running
- some cascading delete is wiping them out
- some django method is calling delete on an exception