-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
If the upsert batch contained duplicate historic variable instances (different versions) and there was no instance document yet stored in ES, all of the different versions got persisted and not just the latest version. If then no further upsert for that instance was executed the duplicates were never removed as this is only done with the upsert script that is only executed on the update execution path.
We need to always perform deduplication of all the variables within one batch.