question: private void cleanupDiscovery ( StorageSystem system ) { try { system . setReachableStatus ( false ) ; _dbClient . persistObject ( system ) ; } catch ( DatabaseException e ) { _logger . error ( "discoverStorage failed.  Failed to update discovery status to ERROR." , e ) ; } }
target:  If discovery fails, then mark the system as unreachable. The discovery framework will remove the storage system from the database.