[CDRIVER-511] Files written to GridFS must be saved before being read back Created: 23/Jan/15 Updated: 18/Nov/15 Resolved: 01/Oct/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | GridFS |
| Affects Version/s: | 1.0.2 |
| Fix Version/s: | 1.3.0-beta0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Samantha Ritter (Inactive) | Assignee: | Kyle Suarez |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
(ported from github) The c driver's GridFS implementation requires that data be saved after being written. Unsaved data can't be read back.
|
| Comments |
| Comment by Githook User [ 01/Oct/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@10gen.com'}Message: Merge pull request #279 from ksuarz/
|
| Comment by Githook User [ 01/Oct/15 ] |
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@10gen.com'}Message: Merge pull request #279 from ksuarz/
|
| Comment by Githook User [ 01/Oct/15 ] |
|
Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'ksuarz@gmail.com'}Message: This also makes progress towards fulfilling |
| Comment by Githook User [ 01/Oct/15 ] |
|
Author: {u'username': u'ksuarz', u'name': u'Kyle Suarez', u'email': u'ksuarz@gmail.com'}Message: |
| Comment by A. Jesse Jiryu Davis [ 09/Sep/15 ] |
|
Editing myself: we can't break backwards compatibility, we promised that mixed reads & writes are allowed so we have to fix any logic errors related to that. The GridFS spec does not mention mixed reads and writes, so it doesn't prohibit us from continuing to support (and bugfix) that feature. |
| Comment by A. Jesse Jiryu Davis [ 15/Jul/15 ] |
|
For now, it should be a runtime err to mix reads and writes with the same mongoc_gridfs_file_t. Once we implement the GridFS spec the API will prohibit mixed reads and writes. |