NetApp ONTAP: Fix SnapMirror snapshots not being cleaned up
Replica promote is retaining unneeded snapshots from previous
SnapMirror relationships and increasing the amount of space
consumed from snapshots in the storage system.
This patch fixes the issue by calling the snapmirror release
operation after resync completes its transferring, which allows
the SnapMirror software to properly cleanup unneeded resources.
Closes-Bug: #1982808
Change-Id: I516fb3575e30d18d971d6a1b7f3b9ad7120c3bbd
(cherry picked from commit 38b13bb40b879adcc06cef0b0fa629e4b00f7122)
(cherry picked from commit e85a081f1c48fa02f728e077e09be08587c7c1e1)
(cherry picked from commit 6db352411413818ddd6c02762fda5d67e0219361)
(cherry picked from commit 65bcc27100abbbf838ff02735594da5bae3b05c1)
Reviewed: https:/ /review. opendev. org/c/openstack /manila/ +/892036 /opendev. org/openstack/ manila/ commit/ b300d878b4d82b3 15ce3dc76cf4dcf 0c80f47b1b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/xena
commit b300d878b4d82b3 15ce3dc76cf4dcf 0c80f47b1b
Author: Fernando Ferraz <email address hidden>
Date: Tue Jul 19 05:33:58 2022 -0300
NetApp ONTAP: Fix SnapMirror snapshots not being cleaned up
Replica promote is retaining unneeded snapshots from previous
SnapMirror relationships and increasing the amount of space
consumed from snapshots in the storage system.
This patch fixes the issue by calling the snapmirror release
operation after resync completes its transferring, which allows
the SnapMirror software to properly cleanup unneeded resources.
Closes-Bug: #1982808 8d971d6a1b7f3b9 ad7120c3bbd cc06cef0b0fa629 e4b00f7122) 2f728e077e09be0 8587c7c1e1) ddd6c02762fda5d 67e0219361) 838ff02735594da 5bae3b05c1)
Change-Id: I516fb3575e30d1
(cherry picked from commit 38b13bb40b879ad
(cherry picked from commit e85a081f1c48fa0
(cherry picked from commit 6db352411413818
(cherry picked from commit 65bcc27100abbbf