Skip to content

Possibility of losing commits when polling in high concurrency scenarios with SQL Server #21

Description

@fschmied

As explained in this dba.stackexchange.com answer, the IDENTITY-based checkpointing mechanism used by the SqlPersistenceEngine with MsSqlDialect is not safe: commits could be skipped when using GetFrom or CommitPollingClient under high load. The probability of running into this scenario is probably very low, but it does exist.

See also NEventStore/NEventStore#425 for a discussion of possible solutions.

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