Hi Jeff,

It really depends on where exactly your 500 is returned. If it's in the 
callback, I believe that will mean your blob was properly uploaded.

In your situation, when my application receives a 500, I would check for 
timeouts to be certain this isn't the issue, then I'd check for file 
existence, and delete as needed.

Cheers

On Monday, June 1, 2015 at 9:59:53 AM UTC-4, Jeff Schnitzer wrote:
>
> What is the behavior of the blobstore upload API when the callback 
> produces a 500 error? This is not at present documented.
>
> I would hope that GAE deletes the blob, otherwise it's going to leak. My 
> application cannot be trusted to detect the 500 error and delete the blob 
> explicitly; after all, the 500 could have been caused by a timeout or 
> something else out of my application's execution control.
>
> FWIW, I'm specifically interested in the behavior of the upload API when 
> backed by GCS, although the same question applies to traditional Blobstore.
>
> Thanks,
> Jeff
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bab09cc1-467d-42c9-898f-49085e7887be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to