[CSHARP-2304] Type:GridFSChunkException,Message:GridFS chunk 0 of file id 001f7c182018061320020001 is missing Created: 19/Jun/18  Updated: 05/Apr/19  Resolved: 22/Oct/18

Status: Closed
Project: C# Driver
Component/s: GridFS
Affects Version/s: 2.6.1
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: suraj Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: question
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows server 2012 R2
Sharding environment


Issue Links:
Related
is related to CSHARP-1981 GridFSChunkException,Message:GridFS c... Closed

 Description   

We are running load test with MongoDB V3.6.5 and below mentioned error is thrown when reading the binary file from GridFS.

Type:GridFSChunkException,Message:GridFS chunk 0 of file id 001f7c182018061320020001 is missing.
場所 MongoDB.Driver.GridFS.GridFSForwardOnlyDownloadStream`1.ProcessNextBatch(List`1 batch)
場所 MongoDB.Driver.GridFS.GridFSForwardOnlyDownloadStream`1.GetNextBatch(CancellationToken cancellationToken)
場所 MongoDB.Driver.GridFS.GridFSForwardOnlyDownloadStream`1.GetFirstBatch(CancellationToken cancellationToken)
場所 MongoDB.Driver.GridFS.GridFSForwardOnlyDownloadStream`1.GetSegment(CancellationToken cancellationToken)
場所 MongoDB.Driver.GridFS.GridFSForwardOnlyDownloadStream`1.Read(Byte[] buffer, Int32 offset, Int32 count)

Please help on this



 Comments   
Comment by Jeffrey Yemin [ 10/Sep/18 ]

It seems like the fs.chunks collection has been modified. Can you confirm whether the relevant document exists in that collection?

Generated at Wed Feb 07 21:42:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.