Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Fix for UpdateIAmAlive in CosmosDBMembershipTable.cs #51

Merged
merged 2 commits into from
Jun 16, 2021

Conversation

ReubenBond
Copy link
Contributor

@ReubenBond ReubenBond commented Jun 16, 2021

This supersedes #49 and #48, which I do not have the permissions to update.

NickBarrett and others added 2 commits June 16, 2021 11:36
… passed in from Orleans only contained SiloAddress and IAmAliveTime. The code now reads the existing state from Cosmos Db, updates IAmAliveTime and writes it back. From what I can see, this is what UpdateIAmAlive.js used to do.
}
else
{
grainState.State = Activator.CreateInstance(grainState.State.GetType());
grainState.RecordExists = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, you're right. Thanks for catching that, @davidvanchu! Are you able to open a PR to fix it?

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants