Closed peetucket closed 1 month ago
We fixed the race condition in https://github.com/sul-dlss/common-accessioning/pull/1380 and https://github.com/sul-dlss/dor-services-app/pull/5183 so we shouldn't need to retry opening of versions in this class: https://github.com/sul-dlss/common-accessioning/blob/main/lib/dor/text_extraction/version_updater.rb#L21-L38
We can remove the whole class and just call the open version method directly in the places that need it.
We fixed the race condition in https://github.com/sul-dlss/common-accessioning/pull/1380 and https://github.com/sul-dlss/dor-services-app/pull/5183 so we shouldn't need to retry opening of versions in this class: https://github.com/sul-dlss/common-accessioning/blob/main/lib/dor/text_extraction/version_updater.rb#L21-L38
We can remove the whole class and just call the open version method directly in the places that need it.