You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/10/14 12:43:00 UTC

[jira] [Work logged] (BEAM-10706) DynamoDBIO fail to write to the same key in short consecution

     [ https://issues.apache.org/jira/browse/BEAM-10706?focusedWorklogId=500622&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-500622 ]

ASF GitHub Bot logged work on BEAM-10706:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Oct/20 12:42
            Start Date: 14/Oct/20 12:42
    Worklog Time Spent: 10m 
      Work Description: iemejia commented on pull request #12583:
URL: https://github.com/apache/beam/pull/12583#issuecomment-708375803


   I have forgotten about this issue, did you have any progress @dennisylyung, any chance you can get this rebased so we can have some progress.
   I also just realized that you made a question that I have not answered too :S I have to check this on my side and tell you back.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 500622)
    Time Spent: 1.5h  (was: 1h 20m)

> DynamoDBIO fail to write to the same key in short consecution
> -------------------------------------------------------------
>
>                 Key: BEAM-10706
>                 URL: https://issues.apache.org/jira/browse/BEAM-10706
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-aws
>    Affects Versions: 2.23.0
>            Reporter: Dennis Yung
>            Priority: P2
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Internally, DynamoDBIO.Write uses the batchWriteItem method from the AWS SDK to sink items. However, there is a limitation in the AWS SDK that a call to batchWriteItem cannot contain duplicate keys.
> Currently DynamoDBIO.Write performs no key deduplication before flushing a batch, which could cause ValidationException: Provided list of item keys contains duplicates, if consecutive updates to a single key is within the batch size (currently hardcoded to be 25). 
> To fix this bug, the batch of write requests need to be deduplicated before being sent to batchRequest.addRequestItemsEntry



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