[JAVA-228] when saving file with gridfs, if the size is aligned with 256KB, then driver saves an extra chunk at the end with empty array Created: 08/Dec/10 Updated: 22/Dec/10 Resolved: 09/Dec/10 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.4 |
| Type: | Bug | 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 |
|
in GridFSInputFile.java, the loop creating chunks only ends when: But it should also check if total == file length. |
| Comments |
| Comment by auto [ 09/Dec/10 ] |
|
Author: {'login': 'agirbal', 'name': 'agirbal', 'email': 'antoine@10gen.com'}Message:
Misc:
|