Skip to content

Use memory safe method to find all child file sets #7254

@maxkadel

Description

@maxkadel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions