You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by re...@apache.org on 2025/05/25 23:57:20 UTC
(beam) branch master updated: fix the IllegalStateException in STORAGE_WRITE_API (#35044)
This is an automated email from the ASF dual-hosted git repository.
reuvenlax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 0c33b6d2236 fix the IllegalStateException in STORAGE_WRITE_API (#35044)
0c33b6d2236 is described below
commit 0c33b6d22365c2d068a4e27ac0243f50a4da26b9
Author: liferoad <hu...@gmail.com>
AuthorDate: Sun May 25 19:57:15 2025 -0400
fix the IllegalStateException in STORAGE_WRITE_API (#35044)
---
.../java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java
index 19a8ee1f077..2765a0e0b52 100644
--- a/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java
+++ b/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryServicesImpl.java
@@ -1489,7 +1489,7 @@ public class BigQueryServicesImpl implements BigQueryServices {
.build();
return new StreamAppendClient() {
private int pins = 0;
- private boolean closed = false;
+ private volatile boolean closed = false;
@Override
public void close() throws Exception {