Logical Partition Deletion
See original GitHub issueHi,
I would like to ask question regarding logical partition deletion.
I’ve recently came across this PR for PKDeletePurger, which has updated its implementation and adds new method DeleteAllItemsByPartitionKeyAsync
. The name of PR says the implementation is meant for SDK 3.
Can you please verify that this will be shipped with SDK 3 and if you have any estimate when?
As a workaround I found that REST API of Cosmos Containers already implements ability to delete whole logical partition through calling this endpoint[Container]/operations/partitionkeydelete
.
I just want to verify that this approach is correct and production ready as I couldn’t find much of an info about cosmos REST API changelog, is there any?
And are there any gotchas when calling cosmos db directly via REST API ?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top GitHub Comments
I’ve shipped app updates that use the preview version, and it’s working as expected. As mentioned though - it seems this has been stuck in preview status for a long time now - looking forward to not have to rely on preview builds to ship production code 😉
@j82w, @abhijitpai, is there any expected date for this feature to be publicly available? I can see that this has been released in preview status in Feb 2022 (https://github.com/Azure/azure-cosmos-dotnet-v3/pull/2948).