Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cleaning up the AppEngine BlobStore

My AppEngine server has a lot of orphaned blobs not used in the BlobStore. I'd like to write code to iterate over all the blobs and check if they are not being used and then delete. I can't find a way to iterate over the BlobStore. Is this possible?

like image 684
tmoore Avatar asked Feb 19 '26 06:02

tmoore


1 Answers

You can list the https://cloud.google.com/appengine/docs/go/blobstore/reference#BlobInfo via a datastore query (though such query is eventually consistent).

like image 119
ozarov Avatar answered Feb 20 '26 21:02

ozarov