[CXX-1317] bucket::upload_from_stream() and bucket::upload_from_stream_with_id() should abort upload on failure Created: 14/Apr/17 Updated: 05/Jul/17 Resolved: 20/Apr/17 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Implementation |
| Affects Version/s: | None |
| Fix Version/s: | 3.2.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | J Rassi | Assignee: | Samuel Rossi (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | gridfs | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
According to the File Upload section of the GridFS spec, the bucket::upload_from_stream() and bucket::upload_from_stream_with_id() methods should abort the upload on failure (excerpted text: "When using upload_from_stream, the upload will be aborted if the source stream raises an error"). |
| Comments |
| Comment by Githook User [ 20/Apr/17 ] |
|
Author: {u'username': u'saghm', u'name': u'Saghm Rossi', u'email': u'saghmrossi@gmail.com'}Message: |
| Comment by David Golden [ 18/Apr/17 ] |
|
Waiting on |
| Comment by Samuel Rossi (Inactive) [ 17/Apr/17 ] |
|
Blocking this until we're sure that we've fixed incorrect behavior regarding throw conditions of istream::read |