Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google File Service closeFinally() timeout

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()?

like image 898
Kirill Lebedev Avatar asked Dec 07 '25 13:12

Kirill Lebedev


1 Answers

There is no timeout between calls to close() and closeFinally() but you must finalize the upload with a call to closeFinally() within a few days after starting the upload with createNewGSFile().

like image 60
fejta Avatar answered Dec 12 '25 07:12

fejta



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!