Skip to content

Mutable State Version & Activity Heartbeat Timer #3036

@yycptt

Description

@yycptt

Currently the mutable state is "versioned" using next event ID; next event ID is not a good attr for protecting concurrent modification of mutable state or preventing writing the activity heartbeat > 1 times.

We should have a additional attr 'dbVersion', which will +1 for each db write related to a mutable state

We can also consider persist the heartbeat timer time along with activity (currently it is a in mem only attr)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions