mlandauer / cuttlefish

Transactional email server with a lovely web interface
http://cuttlefish.io
Other
1.51k stars 176 forks source link

[OAF Cuttlefish/production] Errno::ENOENT: No such file or directory @ rb_file_s_mtime - db/emails/production/3/37617522.eml #365

Closed mlandauer closed 4 years ago

mlandauer commented 4 years ago

Backtrace

line 65 of [PROJECT_ROOT]/lib/email_data_cache.rb: mtime
line 65 of [PROJECT_ROOT]/lib/email_data_cache.rb: block in cleanup_filesystem_data_store
line 65 of [PROJECT_ROOT]/lib/email_data_cache.rb: each

View full backtrace and more info at honeybadger.io

mlandauer commented 4 years ago

This is happening on the queue when it's getting backed up. On retries everything works fine so it's not a super bad bug

mlandauer commented 4 years ago

Looks like a race condition during the clean up of old entries in the EmailDataCache.