hyrax icon indicating copy to clipboard operation
hyrax copied to clipboard

Use memory safe method to find all child file sets

Open maxkadel opened this issue 2 months ago • 0 comments

Descriptive summary

If a work has a very large number of file sets, loading all of them and then doing manipulation of them can tax memory - currently we do this in Hyrax::Transactions::Sets::AddFileSet.call

Steps to reproduce the behavior in User Interface (UI)

Not currently testable in the UI - I think this will become an issue when doing batch uploads via Bulkrax.

Acceptance Criteria/Expected Behavior

  • [ ] There is a way to retrieve and change all file sets associated with a work without holding all of these file sets in memory
  • [ ] It works for common query adapters

maxkadel avatar Oct 22 '25 10:10 maxkadel