Closed aaguiarz closed 1 year ago
@sumitsa-amazon can you take a look at this? Thanks :)
Hi,
Thank you for contributing to DAX Go SDK.
I see that the PR increases the limit of batch size from 25 to 100 for the BatchWriteItem API. For BatchWriteItem the limit of number of operations is still set to 25 operations per request - ref. The relaxation in limit from 25 operations to 100 operations is only applicable for transact APIs.
Ohh that's a good point. Are you saying that if we attempt a TransactWrite
call with 100 items, it should work? I need to try that out...
Ohh that's a good point. Are you saying that if we attempt a
TransactWrite
call with 100 items, it should work? I need to try that out...
It does work!
Thank you for confirmation. I'll close this PR.
Issue #, if available:
https://github.com/aws/aws-dax-go/issues/40
Description of changes: I updated the maxWriteBatchSize to 100, to align with new DynamoDB limits https://aws.amazon.com/about-aws/whats-new/2022/09/amazon-dynamodb-supports-100-actions-per-transaction/
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.