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

IDurableEntityClient.CleanEntityStorageAsync() doesn't delete the entity from storage #1990

Closed
yashvardhan90 opened this issue Nov 1, 2021 · 3 comments

Comments

@yashvardhan90
Copy link

yashvardhan90 commented Nov 1, 2021

Description

A clear and concise description of what the bug is. Please make an effort to fill in all the sections below; the information will help us investigate your issue.

IDurableEntityClient.CleanEntityStorageAsync doesn't delete the entity from the storage account. It only deletes the {"exists":true} field. This causes the ListEntities function to return all the entities.

NOTE: JavaScript issues should be reported here: https://github.com/Azure/azure-functions-durable-js

Expected behavior

A clear and concise description of what you expected to happen.

It should delete all empty entities.

Actual behavior

A clear and concise description of what actually happened.

Modifies a property of the entity but doesn't actually delete it.

App Details

  • Durable Functions extension version (e.g. v1.8.3): 2.4.0
  • Azure Functions runtime version (1.0 or 2.0): 3.0
  • Programming language used: c#

Screenshots

If applicable, add screenshots to help explain your problem.

If deployed to Azure

We have access to a lot of telemetry that can help with investigations. Please provide as much of the following information as you can to help us investigate!

  • Timeframe issue observed: 10/29/2021
  • Function App name: LogManager-dev
  • Function name(s): LogManager
  • Azure region: West US 2
  • Orchestration instance ID(s):
  • Azure storage account name: dmflogsubscriptiondev
  • **Table name: LogManagerAInstances

If you don't want to share your Function App or storage account name GitHub, please at least share the orchestration instance ID. Otherwise it's extremely difficult to look up information.

@ghost ghost added the Needs: Triage 🔍 label Nov 1, 2021
@cgillum
Copy link
Member

cgillum commented Nov 1, 2021

@sebastianburckhardt is this the expected behavior?

@olitomlinson
Copy link
Contributor

duplicate #1364

@yashvardhan90
Copy link
Author

Turns out the entities have had operations on them in the last 30 minutes that's probably why they weren't deleted. Closing the issue.

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

No branches or pull requests

3 participants