Skip to content

Commit 9c677a1

Browse files
committed
fix(LinstorSR): imitate the CA-400106 change
Signed-off-by: Ronan Abhamon <[email protected]>
1 parent 4f9784d commit 9c677a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/LinstorSR.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,6 +2352,7 @@ def _do_snapshot(self, sr_uuid, vdi_uuid, snapType,
23522352
try:
23532353
return self._snapshot(snapType, cbtlog, consistency_state)
23542354
finally:
2355+
self.disable_leaf_on_secondary(vdi_uuid, secondary=secondary)
23552356
blktap2.VDI.tap_unpause(self.session, sr_uuid, vdi_uuid, secondary)
23562357

23572358
def _snapshot(self, snap_type, cbtlog=None, cbt_consistency=None):

0 commit comments

Comments
 (0)