Merge lp:~jcsackett/charmworld/fix-enqueue-sort-failure into lp:charmworld
Proposed by
j.c.sackett
Status: | Merged |
---|---|
Approved by: | j.c.sackett |
Approved revision: | 481 |
Merged at revision: | 480 |
Proposed branch: | lp:~jcsackett/charmworld/fix-enqueue-sort-failure |
Merge into: | lp:charmworld |
Diff against target: |
34 lines (+2/-4) 2 files modified
charmworld/jobs/lp.py (+1/-3) charmworld/jobs/tests/test_lp.py (+1/-1) |
To merge this branch: | bzr merge lp:~jcsackett/charmworld/fix-enqueue-sort-failure |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Gui Bot | continuous-integration | Approve | |
j.c.sackett (community) | Approve | ||
Brad Crittenden (community) | code | Approve | |
Review via email: mp+202678@code.launchpad.net |
Commit message
Fixes an enqueue error for ingest that occurs because of a non-indexed sort.
Description of the change
This branch removes the sorting on db_charms, which we don't need because we
throw the results into a dict immediately.
The sort causes mongo to explode because the data is too large to sort without
an index.
To post a comment you must log in.
Looks good Jon.