You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Fernando Morales (Jira)" <ji...@apache.org> on 2021/11/02 15:24:00 UTC

[jira] [Updated] (BEAM-1330) DatastoreIO Writes should flush early when duplicate keys arrive.

     [ https://issues.apache.org/jira/browse/BEAM-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Morales updated BEAM-1330:
-----------------------------------
    Description: 
DatastoreIO writes batches upto 500 entities (rpc limit for Cloud Datastore), before flushing them out. The writes are non-transactional and thus do not support duplicate keys in the writes. This can be problem, especially when using a non global windowing, where multiple windows for the same key end up in the same batch, and prevents the writes from succeeding.

https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/datastore/DatastoreV1.java

  was:DatastoreIO writes batches upto 500 entities (rpc limit for Cloud Datastore), before flushing them out. The writes are non-transactional and thus do not support duplicate keys in the writes. This can be problem, especially when using a non global windowing, where multiple windows for the same key end up in the same batch, and prevents the writes from succeeding. 


> DatastoreIO Writes should flush early when duplicate keys arrive.
> -----------------------------------------------------------------
>
>                 Key: BEAM-1330
>                 URL: https://issues.apache.org/jira/browse/BEAM-1330
>             Project: Beam
>          Issue Type: Improvement
>          Components: io-java-gcp
>            Reporter: Vikas Kedigehalli
>            Priority: P3
>
> DatastoreIO writes batches upto 500 entities (rpc limit for Cloud Datastore), before flushing them out. The writes are non-transactional and thus do not support duplicate keys in the writes. This can be problem, especially when using a non global windowing, where multiple windows for the same key end up in the same batch, and prevents the writes from succeeding.
> https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/datastore/DatastoreV1.java



--
This message was sent by Atlassian Jira
(v8.3.4#803005)