Ingest Service should only trigger a series metadata update when the metadata has actually changed

Steps to reproduce

Steps to reproduce:
1. Make sure the property "org.opencastproject.series.overwrite" in the file "org.opencastproject.ingest.impl.IngestServiceImpl.cfg" is set to "true"
2. Ingest a certain number of mediapackages belonging to the same series and containing a series metadata catalog containing the exact same metadata. Make sure the workflow run after the ingestion archives the mediapackage.
3.

Actual Results:
Each time a new mediapackage is ingested, each archived mediapackage belonging to the same series is archived again to, in theory, store the updated series metadata --even though the series metadata is actually exactly the same and does not require to be updated at all.

Expected Results:
Before triggering a potentially expensive update (series may have a large number of mediapackages which are all re-archived), the system should make sure that the ingested series metadata catalog does modify the current series metadata.

Workaround (if any):
Either remove the series metadata catalog from the mediapackage or set the "org.opencastproject.series.overwrite" property to "false".

Status

Assignee

Unassigned

Reporter

Rubén Pérez

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major
Configure