On Tue, Feb 04, 2020 at 07:25:31PM +0200, Alan Orth wrote:
> Is there a difference in the automatic re-indexing that is triggered by the
> existence of the `dspace/solr/search/conf/reindex.flag` and a manually
> triggered `dspace index-discovery -b`? After my database migration was
> completed I started Tomcat and then immediately triggered a manual
> re-indexing. I lost a few hours investigating the cause of this, only to
> stumble on the fact that the "automatic" re-indexing apparently does
> something differently—the effects of which are only visible if the
> "automatic" re-indexing actually completes without interruption! Very
> strange...

I think the relevant code is in
org.dspace.storage.rdbms.DatabaseUtils.ReindexerThread

It appears to be doing the equivalent of 'dspace index-discovery -c;
dspace index-discovery -b; dspace index-discovery -s'.

(Aside:  IndexClient's option processing could be better.  For
example, 'index-discovery -c -b -s' would run, ignoring -b and -s.  It
should complain that -c and -b are mutually exclusive.
'index-discovery -b -s' would run, ignoring -s, but there's no reason
not to obey both (though they should be sequenced:  first -b and then
-s).)

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/20200207141314.GB27240%40IUPUI.Edu.

Attachment: signature.asc
Description: PGP signature

Reply via email to