[JAVA-2188] Allow applications to set the files_id when uploading a GridFS file Created: 16/May/16  Updated: 19/Oct/16  Resolved: 20/Jun/16

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

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

Issue Links:
Depends
is depended on by DRIVERS-299 Custom GridFS files._id Closed
Related

 Description   

When sharding GridFS chunks collection it is necessary to set a custom value for the _id field. Using default ObjectId causes all writes to be routed to the first shard in the cluster



 Comments   
Comment by Githook User [ 20/Jun/16 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Allow applications to set the files_id when uploading a GridFS file

JAVA-2188
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/17abd877136d0044d0bc1ff25a5e493d41b761ed

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