nasa / Common-Metadata-Repository

Apache License 2.0
337 stars 92 forks source link

CMR-9889: Adding in a new index to make it faster to delete granules and to not stop the job if one provider's granule deletion fails. #2135

Closed eereiter closed 2 months ago

eereiter commented 2 months ago

Overview

What is the feature/fix?

Adding in a new index to make it faster to delete granules and to not stop the job if one provider's granule deletion fails.

What is the Solution?

Adding in a new index to make it faster to delete granules and to not stop the job if one provider's granule deletion fails.

What areas of the application does this impact?

job of deleting expired granules.

Checklist

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 44.00000% with 28 lines in your changes missing coverage. Please review.

Project coverage is 57.93%. Comparing base (2c77745) to head (2ac24a8).

Files Patch % Lines
.../src/cmr/metadata_db/data/oracle/granule_table.clj 56.66% 13 Missing :warning:
...ata_db/migrations/089_add_granule_delete_index.clj 25.00% 9 Missing :warning:
...adata-db-app/src/cmr/metadata_db/services/jobs.clj 0.00% 5 Missing :warning:
...etadata_db/migrations/088_add_meta_to_provider.clj 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2135 +/- ## ========================================== - Coverage 57.95% 57.93% -0.02% ========================================== Files 1042 1043 +1 Lines 70182 70184 +2 Branches 1995 1993 -2 ========================================== - Hits 40672 40664 -8 - Misses 27651 27661 +10 Partials 1859 1859 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.