8000 Refactor errors thrown from bulkWrite and monomorphicBulkWrite APIs · Issue #87 · amzn/smoke-dynamodb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Refactor errors thrown from bulkWrite and monomorphicBulkWrite APIs #87
Open
@tachyonics

Description

@tachyonics

Context-

knovichikhin 7 hours ago
Just an FYI, the problem with monomorphicBulkWrite and, I presume, with this one is that it's not possible to tell what statement did not execute. The reason for that is the thrown exception includes only failed items and not all items. If it were to return all items with OK/Failure status then it's possible to retry on failed items. But these response items have to match by either index or some kind of key.

@knovichikhin 7 hours ago
It's more of an underlying problem. It's possible to work around this for inserts. It's harder for updates because updates are not idempotent (due to list append).

tachyonics 7 hours ago
I did see that but it made sense to keep the same behaviour as monomorphicBulkWrite. We should address it in the next major version. I will create an issue for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0