- **status**: in-progress --> review
- **Comment**:
Done on branch db/8271 here and db/8271 on forgehg repo
And can clean up some mongo space with `db.repo_commitrun.drop()`
---
** [tickets:#8271] Remove CommitRun usage**
**Status:** review
**Milestone:** unreleased
**Labels:** indexless
**Created:** Wed Mar 13, 2019 04:02 PM UTC by Dave Brondsema
**Last Updated:** Wed Mar 13, 2019 04:02 PM UTC
**Owner:** Dave Brondsema
Looks like CommitRun models & data haven't really been used since [#6272].
Usage is only in tests and repo refresh code, not actual site code. There are
also some queries that can be pretty large, when thousands of commits are
involved, like:
```python
if CommitRunDoc.m.find(dict(commit_ids={'$all': run1.commit_ids},
_id={'$ne': run1._id})).count():
```
---
Sent from forge-allura.apache.org because [email protected] 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.