...
NB! In ECS mode the job only should run for the central tenant
Query to check if there are any unprocessed contributors:
Code Block | ||
---|---|---|
| ||
SELECT * FROM contributor
WHERE last_updated_date > (SELECT last_updated_date
FROM sub_resources_lock WHERE entity_type='contributor')
ORDER BY last_updated_date DESC
|
Aggregation of counts on update/insert
...