ought.
Joshua
From: archivesspace_users_group-boun...@lyralists.lyrasis.org
on behalf of Joshua
D. Shaw
Sent: Wednesday, February 19, 2020 9:56 AM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?
ehalf of Joshua
D. Shaw
Sent: Wednesday, February 19, 2020 9:56 AM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?
One additional little bit of info that may complicate things. It seems like the
pause will not shut down an indexe
: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?
I think I've got it going by adding a little loop that checks the indexer state
via the response body of the indexer (ie does it contain the string "paused")
and then sending a "put" with the duration para
e like disk access or network (if you're running
a separate SOLR instance).
Joshua
From: archivesspace_users_group-boun...@lyralists.lyrasis.org
on behalf of Andrew
Morrison
Sent: Wednesday, February 19, 2020 8:32 AM
To: Archivesspace Users Group
Subject: Re: [A
it to 1800 to avoid this, but YMMV.
Andrew.
From: archivesspace_users_group-boun...@lyralists.lyrasis.org
on behalf of Joshua
D. Shaw
Sent: 19 February 2020 13:05
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Method to Pause Indexe
7:16 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Method to Pause Indexer during Job Run?
Hi Joshua,
I haven’t used it, but I see these endpoints in indexer/app/main.rb
get "/" do
if IndexerCommon.paused?
"Indexers paused until
#{Indexer
Hi Joshua,
I haven’t used it, but I see these endpoints in indexer/app/main.rb
get "/" do
if IndexerCommon.paused?
"Indexers paused until
#{IndexerCommon.class_variable_get(:@@paused_until)}"
else
"Running every #{AppConfig[:solr_indexing_frequency_seconds].to_i}
seconds.
Hey all-
I writing a job that may take a *long* time (hours) to complete which will be
updating a *lot* of AO records. I'm wondering if there's a way to pause the
Indexer during a job so that I can let the Indexer do its thing *after* the job
completes. I know I can toggle the AppConfig value f