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

Clear executionID when recovering from orphaned entities #1128

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

davidmrdavid
Copy link
Collaborator

The test "DurableEntity_CleanEntityStorage" in the DF Extension has been really flakey as of late. It seems this is because, when we send a "orphaned lock fix" external event to a locked entity, we send that request with an executionID, and the executionID of entities is always changing. Therefore, if the entity has changed its executionID (example: after processing some operation request) the event will not unlock the entity and the test will fail.

This PR makes sure to clear the executionID of the raised event so that "orphaned lock fix" events are always honored, instead of discarded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant