Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MemoryStorage bug fix when calling Clear state #1804

Merged
merged 1 commit into from
Jun 2, 2016

Conversation

jdom
Copy link
Member

@jdom jdom commented Jun 2, 2016

MemoryStorage had eTag mismatch when clearing the state and subsequently writing to it.
Previous to 1.2.1 this was actually throwing a cryptic NullReferenceException instead, but commit a1d3595 partially addressed it (but not the etag mismatch).

…tly writing to it.

Previous to 1.2.1 this was actually throwing a cryptic NullReferenceException instead, but commit a1d3595 partially addressed it (but not the etag mismatch).
@gabikliot
Copy link
Contributor

LGTM.

@gabikliot gabikliot added the bug label Jun 2, 2016
@gabikliot gabikliot merged commit 05b5467 into dotnet:master Jun 2, 2016
@jdom jdom deleted the fix-clearstate-issue branch June 2, 2016 16:25
@sergeybykov
Copy link
Contributor

Don't we need a 1.2.2 release with this fix, considering that people use it in production?

@gabikliot
Copy link
Contributor

I don't think so. It's only memory storage, shouldn't be used in production. Plus, the bug was only in clear state method, also rarely used.

@jdom
Copy link
Member Author

jdom commented Jun 2, 2016

Actually @gabikliot, I think we do plan to release this. The reason I submitted this PR is because this started happening more often since the PubSubRendevouzGrain now calls clear state more often. And some people are using MemoryStorage in prod for pub sub (who contacted us with the issue).

Having said that, I think I would wait until there's a fix for #1739, and then publish 1.2.2

@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants