I just faced a problem with writing data to Google Cloud Storage using AppEngine FileService.
The problem is timeout related as I think. I created new GS file and write data to it using Tasks. Every task closes FileWriteChannel with close(). But closeFinally() is called in about 2 hours after last write (It is required by my DataFlow). So I do not see any file in GS.
Is it any timeoute between last write and closeFinally()?
There is no timeout between calls to
close()
andcloseFinally()
but you must finalize the upload with a call tocloseFinally()
within a few days after starting the upload withcreateNewGSFile()
.