The following files have uses of skip() which the Mongo documentation indicates is inefficient and should be replaced with ranged-based paging whenever possible.
Allura/allura/controllers/discuss.pyAllura/allura/controllers/project.pyAllura/allura/controllers/search.pyAllura/allura/controllers/site_admin.pyAllura/allura/ext/admin/admin_main.pyAllura/allura/model/discuss.pyForgeBlog/forgeblog/main.pyForgeDiscussion/forgediscussion/controllers/forum.pyForgeShortUrl/forgeshorturl/main.pyForgeTracker/forgetracker/model/ticket.pyForgeWiki/forgewiki/wiki_main.pyWhen possible, in the above files, replace the use of skip() with a combination of sorting on, and range limiting by an indexed field.
These have not been performance issues, and using skip() allows us to keep track of page & limit params quite easily, whereas the more effecient query by _id greater than X, requires keeping track of what page goes with what _id limit, etc.