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.
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.
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".