question: private void cleanupProtectionSetVolumes ( ProtectionSet protectionSet , List < String > volumeIDs , boolean markProtectionSetForDeletion ) { if ( protectionSet != null ) { _log . info ( "Removing the following volumes from protection set {}: {}" , protectionSet . getLabel ( ) , volumeIDs . toString ( ) ) ; StringSet psetVolumes = protectionSet . getVolumes ( ) ; psetVolumes . removeAll ( volumeIDs ) ; protectionSet . setVolumes ( psetVolumes ) ; if ( markProtectionSetForDeletion ) { protectionSet . setInactive ( true ) ; } _dbClient . updateObject ( protectionSet ) ; } }
target:  Cleans up the given ProtectionSet by removing volumes from it and marking for deletion if specified. Also removes the volume's association on the BlockConsistencyGroup.