Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to delete job: key not found #46

Closed
aldanor opened this issue Nov 27, 2017 · 1 comment
Closed

Failed to delete job: key not found #46

aldanor opened this issue Nov 27, 2017 · 1 comment

Comments

@aldanor
Copy link

aldanor commented Nov 27, 2017

I've tried deleting a few jobs in 0.7.5, and it generally seems to work, but also fails sometimes. Here's a piece of the log when trying to delete an old job whose event doesn't even exist anymore:

==> /opt/cronicle/logs/S3.log <==
[1511742214.349][2017-11-27 00:23:34][scheduler][S3][debug][9][Fetching S3 Object: logs/events/ej9vv63tu01][]

==> /opt/cronicle/logs/Storage.log <==
[1511742214.358][2017-11-27 00:23:34][scheduler][Storage][debug][9][List could not be loaded: logs/events/ej9vv63tu01: Error: Failed to fetch key: logs/events/ej9vv63tu01: Not found][]
[1511742214.358][2017-11-27 00:23:34][scheduler][Storage][debug][9][Unlocking key: ||logs/events/ej9vv63tu01][]

==> /opt/cronicle/logs/User.log <==
[1511742214.358][2017-11-27 00:23:34][scheduler][User][error][job][Failed to delete job: Error: Failed to fetch key: logs/events/ej9vv63tu01: Not found][]

(I'm not sure what's the exact reason, is it that the event doesn't exist now or is it something else?)

@jhuckaby
Copy link
Owner

Ah, thank you. I forgot that the list data may have separately expired before the job data. Fixed in HEAD revision.

jhuckaby added a commit that referenced this issue Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants