Github user yvsubhash commented on the issue:
https://github.com/apache/cloudstack/pull/1726
@ustcweizhou As I understand, Volume goes to Expunged state when it is
removed from primary and gets removed when it is removed from secondary
storage. line 2211 to 2215 is to handle specific case where volume getting
removed from primary But not getting removed from secondary because of the
download link. So cleaning up the same after the downlink is expired
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---