Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Fix Inconsistencies When Creating Stream - #33

Merged
thefringeninja merged 3 commits into
SQLStreamStore:masterfrom
thefringeninja:201
Oct 26, 2018
Merged

Fix Inconsistencies When Creating Stream#33
thefringeninja merged 3 commits into
SQLStreamStore:masterfrom
thefringeninja:201

Conversation

@thefringeninja

Copy link
Copy Markdown
Contributor

Server would only check if writeResult.CurrentVersion == 0 to return 201. That won't work if you write multiple messages to the stream on the first write.

At the moment it is not possible to tell if a write with ExpectedVersion.Any created the stream without doing a read first.

@thefringeninja
thefringeninja merged commit c8a4199 into SQLStreamStore:master Oct 26, 2018
@thefringeninja
thefringeninja deleted the 201 branch October 26, 2018 05:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant