[JAVA-248] For GridFS, driver should ensure indexes at startup on both files and chunks collection, when collection is small Created: 04/Jan/11  Updated: 17/Mar/11  Resolved: 04/Feb/11

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5

Type: Improvement Priority: Major - P3
Reporter: Antoine Girbal Assignee: Antoine Girbal
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

today driver is missing

{filename: 1, uploadDate: 1}

on files collection.
Also, ensureIndex must not be called if the collection size is over 1000, to avoid involuntary slowdown of DB.



 Comments   
Comment by auto [ 03/Feb/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: JAVA-248: For GridFS, driver should ensure indexes at startup on both files and chunks collection, when collection is small
https://github.com/mongodb/mongo-java-driver/commit/41db73d1788a677f5bd8750278530a394c438ac0

Generated at Thu Feb 08 08:51:50 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.