You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2016/03/17 16:18:05 UTC

[allura:tickets] #8068 Collections missing indexes from ensure_index cmd



---

** [tickets:#8068] Collections missing indexes from ensure_index cmd**

**Status:** open
**Milestone:** unreleased
**Labels:** performance 
**Created:** Thu Mar 17, 2016 03:18 PM UTC by Dave Brondsema
**Last Updated:** Thu Mar 17, 2016 03:18 PM UTC
**Owner:** nobody


The `ensure_index` paster command misses some indexes:

`CommitRunDoc` which uses the `repo_commitrun` collection doesn't get its indexes created, because there is no `mapper(...)` line for it at the bottom of `allura/Allura/allura/model/repository.py`.   (There is no class to map it to currently)

Also the activitystream indexes on `activities` and `nodes` don'te get created, despite code in `EnsureIndexCommand` that uses `activity_odm_session` to try to do so.  Must be a bug in it.


---

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

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