Undelete (restore) of soft deleted blob doesn't work anymore
Please refer to this original implementation of the feature.
We started seeing issues with the restore blob functionality in our envs. We are seeing an unexpected error of type com.fasterxml.jackson.core.JsonParseException
with every restore request. Investigation narrowed down the root cause to be this change, particularly the upgrade in azure-core
version.
Steps to reproduce the issue (use Storage service APIs):
- Create a record
- Manually soft-delete only the record blob (don't touch cosmos metadata)
- Get record
The expected behavior is that Storage service attempts to restore the blob and getRecord API returns successfully. This isn't happening atm due to the mentioned issue.
None of the other later versions of azure-core
fixes this. It seems this issue persists with any version 1.35.0
and higher
There are no observed vulnerabilities with 1.34.0
, therefore suggesting to revert back to this version.
MR for fix (abandoned)
After some discussion, we decided to make this fix exclusively in Storage