- **status**: code-review --> closed
- **Milestone**: forge-backlog --> forge-jan-10



---

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

**Status:** closed
**Labels:** performance 42cc 
**Created:** Thu Apr 19, 2012 09:37 PM UTC by Dave Brondsema
**Last Updated:** Thu Jan 02, 2014 08:28 PM 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 databases.


---

Sent from sourceforge.net because allura-dev@incubator.apache.org is subscribed 
to https://sourceforge.net/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/allura/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.

Reply via email to