Proper place to store background job related data?

Avatar

Avatar

EricES

Avatar

EricES

EricES

01-03-2019

In order to allow delta indexing for our Solr cores, we store the last index time. Currently, it's only stored in memory in a Java map, so the value is lost on server restart.

What is the proper place to store a value like this?

Configuration comes to mind, but I don't want it to be configurable. It's only needed by the background job that fires off the Solr indexing.

Should it be stored in the CRX in the "apps" node somewhere? That doesn't seem quite right to me, and I'd have to be careful so deployments wouldn't overwrite it there, too.

What's the best way to do this?

View Entire Topic

Avatar

Avatar

EricES

Avatar

EricES

EricES

04-03-2019

Perfect! Exactly what I was looking for.