Wiki artifacts don't have any indexes on them (just the ones they inherit from Artifact). So a wiki tool with many pages will require scanning through all of them. We should have an index on (app_config_id, title), and might as well make it unique.
Test: switch to & activate the new branch of ming first. Then switch to the allura branch, and visit any page. Run db.page.getIndexes() and see that background:true is recorded
Need to merge ming, cut a release, and bump the version in allura as part of the allura merge.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The changes for this ticket are good, but there have been 24 other commits to Ming since the version we're using (though mostly to MIM), so it warrants some additional testing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
https://trac.sdot.me/trac/siteops/ticket/53681 to run it on SF
Need to make Ming default to background:true for index auto-creation (in
ming/metadata.py +310
)merciless:db/6208, allura:db/6208
db.page.getIndexes()
and see that background:true is recordedThe changes for this ticket are good, but there have been 24 other commits to Ming since the version we're using (though mostly to MIM), so it warrants some additional testing.