Changes

Summary

  1. Upgrade the algorithm for finding the previously-found fulltexts, based on their md5hash: (details)
Commit 8f9786de09ae9d8e5f06eb8b6dafdd91602938ec by Lampros Smyrnaios
Upgrade the algorithm for finding the previously-found fulltexts, based on their md5hash:
- Use a single query with a list of the fileHashes, instead of thousands of singe-md5hash-check queries (run at most 6 in parallel) which require a lot of I/O.
- Avoid checking multiple times the same fileHash, in case it is related with multiple payloads.
- In case of a database-error, avoid completely losing the full-texts of that worker, instead, continue processing the full-texts.
The file was modifiedsrc/main/java/eu/openaire/urls_controller/util/FileUtils.java (diff)
The file was modifiedsrc/main/java/eu/openaire/urls_controller/services/UrlsServiceImpl.java (diff)