cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

create dependencies between Solr jobs

Former Member
0 Likes
353

we have 2 different process which can trigger solr full indexing and we have solr update cron job running every 15 mins. now there are cases when both full and update cron job are running together and causing performance issue.

is there any way we can create dependencies between these 2 jobs? means before a job start it checks if other job is running ? if yes it runs after 1st gets finish?

we are using OOTB solrIndexerJob and we want to make then exclusive.

Accepted Solutions (0)

Answers (1)

Answers (1)

arvind-kumar_avinash
Active Contributor
0 Likes

You can create a custom class extending CompositeJobPerformable and override the behaviour to execute the next composite entry based on the status of the running composite entry.