Hi All,
I'm using the Blobstore API to generate an URL to save images into Google
Cloud Storage (GCS):
BlobstoreService blobstoreService =
BlobstoreServiceFactory.getBlobstoreService();
String uploadUrl = blobstoreService.createUploadUrl("/upload",
UploadOptions.Builder.withGoogleStorageBucketName("my-bucket-name");
After uploading the file appears in GCS and I store the GCS filename in a
Datastore entity.
After saving, the file also seems to appear in the Blob Viewer in App
Engine. It seems to be stored only once (only in GCS). So the BlobViewer
entry seems to be a reference to the GCS file.
There are several issues here:
- When trying to delete the blob from the Blob Viewer the system responds
with a server error. After this error the file is still available in Google
Cloud Storage, but it's gone from the Blob Viewer.
- When programmatically deleting the file using the filename from GCS the
file stays in the Blob Viewer. When trying to open the file from Blob
Viewer the system responds with a server error.
- It's seems we're charged twice for the storage costs, when storing data
this way the usage will both appear in GAE at "Blobstore Stored Data" and
in GCS.
For me it would be best if the file would not appear in the Blob Viewer at
all, we're using GCS and not the blobstore. But it would also be fine if
we're only charged once for the storage costs.
Thanks, Tim
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.