File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1616 [ CATS-1042] ( https://opensource.ncsa.illinois.edu/jira/browse/CATS-1042 )
1717- User-owned resources will now appear in search results regardless of space permissions.
1818- Updating space ownership for datasets and collections will correctly reindex those resources for searches.
19+ - Missing index in statistics which would slow down system when inserting download/views.
1920
2021## 1.8.2 - 2020-02-19
2122
Original file line number Diff line number Diff line change @@ -171,6 +171,8 @@ class MongoSalatPlugin(app: Application) extends Plugin {
171171
172172 collection(" contextld" ).ensureIndex(MongoDBObject (" contextName" -> 1 ))
173173
174+ collection(" statistics.users" ).ensureIndex(MongoDBObject (" user_id" -> 1 , " resource_id" -> 1 ))
175+
174176 collection(" dtsrequests" ).ensureIndex(MongoDBObject (" startTime" -> - 1 , " endTime" -> - 1 ))
175177 collection(" dtsrequests" ).ensureIndex(MongoDBObject (" file_id" -> - 1 ))
176178 collection(" versus.descriptors" ).ensureIndex(MongoDBObject (" fileId" -> 1 ))
You can’t perform that action at this time.
0 commit comments