googleapis / googleapis/google-cloud-java

[java-storage] Batch operations do not use the RetryHelper settings

Đang mở
#12,629 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
api: storage
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

#### Stack trace
```
2026-02-25 15:43:42.660
at com.google.cloud.storage.StorageException.translate(StorageException.java:230) ~[bq-sink-batch.jar:0.1.0-SNAPSHOT]
2026-02-25 15:43:42.660
at com.google.cloud.storage.spi.v1.HttpStorageRpc.translate(HttpStorageRpc.java:360) ~[bq-sink-batch.jar:0.1.0-SNAPSHOT]
2026-02-25 15:43:42.660
at com.google.cloud.storage.spi.v1.HttpStorageRpc.access$500(HttpStorageRpc.java:119) ~[bq-sink-batch.jar:0.1.0-SNAPSHOT]
2026-02-25 15:43:42.660
at com.google.cloud.storage.spi.v1.HttpStorageRpc$DefaultRpcBatch.submit(HttpStorageRpc.java:330) ~[bq-sink-batch.jar:0.1.0-SNAPSHOT]
2026-02-25 15:43:42.660
at com.google.cloud.storage.StorageBatch.submit(StorageBatch.java:159) ~[bq-sink-batch.jar:0.1.0-SNAPSHOT]
2026-02-25 15:43:42.660
at com.google.cloud.storage.StorageImpl.delete(StorageImpl.java:1268) ~[bq-sink-batch.jar:0.1.0-SNAPSHOT]
2026-02-25 15:43:42.660
at org.apache.flink.fs.gs.storage.GSBlobStorageImpl.delete(GSBlobStorageImpl.java:246) ~[?:?]
2026-02-25 15:43:42.660
at org.apache.flink.fs.gs.writer.GSRecoverableWriterCommitter.cleanupTemporaryBlobs(GSRecoverableWriterCommitter.java:244) ~[?:?]
2026-02-25 15:43:42.660
at
```

#### External references such as API reference guides

- https://github.com/googleapis/java-storage/issues/203

#### Any additional information below

https://github.com/googleapis/java-storage/issues/203

Hi, I wanted to reopen issue 203 as we saw it come up in our Flink application. Despite adjusting all of our other retry settings, we noticed that delete batch requests were not being retried after tracing through the code and finding the previous issue opened.

Each of these failures can cause a cascading effect when GCP buckets are under strain where that Flink checkpoint fails, and the subsequent one will submit more delete batch requests when catching up which are then more likely to run into this terminal error.

It's really confusing as a library user that the normal HTTP retry settings have no effect here so I would petition that we reopen and use https://github.com/googleapis/java-storage/pull/305

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.