pub(crate) async fn delete_records( partition_client: &PartitionClient, topic: &str, pruned_entry_id: u64, ) -> Result<()>
Deletes the records for the given topic.