I am going to develop an application that creates files on Google Cloud Storage and read them by other processes.
File creation may be delayed due to some reasons (such as the file is big) and may exist incomplete (write is ongoing) files on Cloud Storage.
I have to consider to prevent reading incomplete files. But according to this page, the Bucket listing is strongly consistent. The newly created files could be listed immediately after the file is created.
From the document above, my guess is the newly created files will not be listed until the creation will be completed, the incomplete files will not be listed.
Is my guess true? If not, how should I do to prevent reading incomplete files?