Local API for retrieving bibliographic and other useful data from Alma (Ruby 3.2.0, Rails 7.1.3.4)
BSD 2-Clause "Simplified" License
16
stars
7
forks
source link
Sidekiq is trying to index a dump file with event id nil #2434
Closed
christinach closed 1 month ago
Expected behavior
Sidekiq should not start a job for a duplicate dump
Actual behavior
Sidekiq starts a job for a dump that has an event_id: nil
Impact of this bug
The number of errors in honeybadger will keep increasing
Honeybadger link and code snippet, if applicable
https://app.honeybadger.io/projects/54497/faults/109861273
/app/jobs/alma_dump_transfer_job.rb:26:in `find_dump_file_type'
Sidekiq retries error
From sidekiq:
Implementation notes, if any
From the rails console in production for Dump.find(8631)
Dump objects with an event_id: nil. These 10 objects were created on July 30th and July 31st.
This error started after https://github.com/pulibrary/bibdata/commit/72b0536e29098356a80f5d25d5b47d71005a4fc4