Current implementation doesn't delete all versions of the record with purging a record
Repro steps:
- create a record with the PUT API
- create another version of the same record with the PUT API
- hard delete (purge) the record
Expected: All metadata and storage blobs should be purged
Actual: Metadata gets purged, but only latest version gets purged. This leaves dangling references of other versions in Blob Storage
Note: The bug was observed for Azure implementation, but other providers should confirm the behavior and put in a fix if required
Edited by Alok Joshi