incubator-allura-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brondsema" <>
Subject [allura:tickets] #4091 ensure_index takes for ever looping over every single project
Date Thu, 02 Jan 2014 20:28:10 GMT
- **QA**: Dave Brondsema


** [tickets:#4091] ensure_index takes for ever looping over every single project**

**Status:** code-review
**Labels:** performance 42cc 
**Created:** Thu Apr 19, 2012 09:37 PM UTC by Dave Brondsema
**Last Updated:** Thu Dec 26, 2013 11:40 AM UTC
**Owner:** nobody

EnsureIndexCommand uses `for projects in utils.chunked_find(M.Project):` to find each project's
database_uri because we used to have different db connections for different projects.  This
is theoretically still supported, but not used.  This is terribly slow on a big system though.

We should either remove per-project database_uri functionality, or have some smart logic (perhaps
a command option) so EnsureIndexCommand doesn't go through all the projects looking for new


Sent from because is subscribed to

To unsubscribe from further messages, a project admin can change settings at
 Or, if this is a mailing list, you can unsubscribe from the mailing list.
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message