Skip to content

Prevent overwriting events when persisting #64

@Fours

Description

@Fours

Could use a condition expression to stop an overwrite and instead return a rejection: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ConditionExpressions.html

This would be helpful in the exceptional scenario of two persistent actors running with the same persistence id, trying to save an event with the same seqNum - I would rather one fail to persist than overwrite an existing item.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions