[ https://issues.apache.org/jira/browse/BEAM-1330?focusedWorklogId=708019&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-708019 ]
ASF GitHub Bot logged work on BEAM-1330: ---------------------------------------- Author: ASF GitHub Bot Created on: 13/Jan/22 02:26 Start Date: 13/Jan/22 02:26 Worklog Time Spent: 10m Work Description: aaltay commented on pull request #16436: URL: https://github.com/apache/beam/pull/16436#issuecomment-1011690836 What is the next step on this PR? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 708019) Time Spent: 40m (was: 0.5h) > 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 > Assignee: Fernando Morales > Priority: P3 > Time Spent: 40m > Remaining Estimate: 0h > > 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.20.1#820001)