Hi Jose,

During the upgrade to 5.x, DSpace will automatically re-index your 
content (as it's required in order to get the latest features). This 
only happens ONCE, on the first bootup of Tomcat after the database has 
been upgraded.

More specifically, this reindex is triggered by a file 
("[dspace]/solr/search/conf/reindex.flag") which is created by the 
database upgrade process.  If the Discovery module sees that file on 
bootup, a full reindex is triggered, and that "reindex.flag" is then 
deleted.

So, if you are noticing a reindex every time you restart Tomcat, it's 
possible either your reindex has not been given enough time to complete, 
OR that "reindex.flag" file is somehow not being deleted properly.

- Tim

On 5/11/2015 2:08 PM, Jose Blanco wrote:
> It seems like every time I restart tomcat, items get re-indexed.  Is it
> only when there's been a change to the db, or is it every time tomcat is
> restarted?
>
> -Jose
>
> On Mon, May 11, 2015 at 2:58 PM, Jose Blanco <blan...@umich.edu
> <mailto:blan...@umich.edu>> wrote:
>
>     I just turned on DEBUG and I keep seeing this in the log files:
>
>     2015-05-11 14:57:06,208 DEBUG
>     org.dspace.storage.rdbms.DatabaseManager @ Running query "SELECT *
>     FROM resourcepolicy WHERE resource_type_id= ? AND resource_id= ? AND
>     action_id= ? "  with parameters: 0,558156,0
>     2015-05-11 14:57:06,208 DEBUG
>     org.dspace.storage.rdbms.DatabaseManager @ Running query "SELECT *
>     FROM group2groupcache WHERE child_id= ? "  with parameters: 0
>     2015-05-11 14:57:06,208 DEBUG org.ds
>
>
>     Not sure why?  It just keeps going and going....
>
>     -Jose
>
>
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette: 
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to