public void rollbackImage ( NamespaceInfo nsInfo ) throws IOException { Preconditions . checkState ( nsInfo . getLayoutVersion ( ) != 0 , "can't rollback with uninitialized layout version: %s" , nsInfo . toColonSeparatedString ( ) ) ; LOG . info ( "Rolling back image " + this . getJournalId ( ) + " with namespace info: (" + nsInfo . toColonSeparatedString ( ) + ")" ) ; imageStorage . rollback ( nsInfo ) ; }
Rollback the local image storage with the given namespace .