cran / googleCloudStorageR

:exclamation: This is a read-only mirror of the CRAN R package repository. googleCloudStorageR — Interface with Google Cloud Storage API. Homepage: https://code.markedmondson.me/googleCloudStorageR/ Report bugs for this package: https://github.com/cloudyr/googleCloudStorageR/issues
Other
0 stars 1 forks source link

Overwrite file take 30 min on a bucket #1

Open dsaada opened 3 years ago

dsaada commented 3 years ago

Hello,

When I overwrite a file on a bucket, or I remove old file and put same file on a bucket on google storage, I have to wait 30 minutes before to see the change, it's look like that google storage keep in memory the old file.

My code to connect on a bucket:

`path_log<-paste("google_auth",auth_json,sep="/")

Sys.setenv("GCS_AUTH_FILE" = path_log)

library(googleCloudStorageR)

gcs_get_bucket(bucket)

Sys.setenv("GCS_DEFAULT_BUCKET" = bucket)

gcs_global_bucket(bucket)

buckets <- gcs_list_buckets(proj)

bucket_info <- gcs_get_bucket(bucket)`

The configuration of the bucket:

image

I use gcs_upload(df_poids, name = "test.csv",predefinedAcl="publicRead") to write file on storage, and

gcs_get_object(object_name="test.csv",saveToDisk="test.csv",overwrite=T) to read the file.

gaborcsardi commented 3 years ago

Hi, this is a read only mirror of CRAN, please see the package authors and potentially URLs in the DESCRIPTION file. Thanks!