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

Awesome feature! #2

Open
WouterSlob opened this issue Mar 27, 2021 · 2 comments
Open

Awesome feature! #2

WouterSlob opened this issue Mar 27, 2021 · 2 comments

Comments

@WouterSlob
Copy link
Collaborator

We've been waiting for this feature for a long time and are very happy that it's finally here!
This will save us quite some Azure Function Orchestration complexity to cleanup a lot of data.

I've implemented the feature in our application and it works like a charm! Both on the local Cosmos DB Emulator and in Azure.

I've got two questions:

  • is it possible to see somewhere in the portal that a delete process is in progress?
  • is there already a RU-friendly way to get all partitionkeys in a collection? Would be nice to use that icw this feature.

Great job! Hope this is available soon!

@deborahc
Copy link
Contributor

deborahc commented Apr 8, 2021

Thanks for the feedback! Glad that it worked for your scenario.

  • Currently, there is on way to see in the portal a delete is in progress. We do want to add some metrics to help with monitoring, so we'll keep this group posted for feedback.
  • Outside of querying for distinct logical partition keys, there's currently no API to get all partition keys in a collection. That said, the query team is looking to make distinct queries more RU friendly - see relevant UserVoice item: https://feedback.azure.com/forums/263030/suggestions/36349012.

@deborahc
Copy link
Contributor

@WouterSlob - we're discussing how these metrics should be exposed through the portal / Azure monitor metrics:

Discussion: https://github.com/orgs/AzureCosmosDB/teams/pkdeletepreviewparticipants/discussions/2. Feel free to add your feedback/input there. Thanks!

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

No branches or pull requests

2 participants