Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve efficiency of repository and integrity meta analysis #846

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 19, 2024

  1. Improve efficiency of repository and integrity meta analysis

    * Removes "preparation" logic of `IntegrityMetaComponent` records in `BomUploadProcessingTask`. Preparing records one-by-one is too resource-intensive, but doing it in batches has a too high potential for deadlocks since the table is written to by many threads in parallel.
    * Refactors `RepositoryMetaResultProcessor` to consume records in batches. Since incoming records are keyed by PURL coordinates, we can safely perform batch operations in the database without the risk of running into deadlocks.
    
    Signed-off-by: nscuro <[email protected]>
    
    # Conflicts:
    #	src/main/resources/migration/changelog-v5.6.0.xml
    nscuro committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    acc711d View commit details
    Browse the repository at this point in the history