Changeset 17765
- Timestamp:
- May 21, 2008, 3:39:55 PM (18 years ago)
- Location:
- trunk/Nebulous
- Files:
-
- 2 edited
-
Changes (modified) (1 diff)
-
lib/Nebulous/Client.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous/Changes
r17763 r17765 2 2 3 3 0.09 4 - change replicate() to report when it fails to cleanup (after a failure) 4 5 - add neb-xattr util 5 6 - change Nebulous::Client->find() to handle a volume param and to fall back -
trunk/Nebulous/lib/Nebulous/Client.pm
r17763 r17765 1 1 # Copyright (c) 2004-2008 Joshua Hoblitt 2 2 # 3 # $Id: Client.pm,v 1.5 3 2008-05-21 20:46:18jhoblitt Exp $3 # $Id: Client.pm,v 1.54 2008-05-22 01:39:41 jhoblitt Exp $ 4 4 5 5 package Nebulous::Client; … … 245 245 my $success = File::Copy::copy( $fh, $new_fh ); 246 246 unless ($success) { 247 $self->delete_instance("$uri"); 247 # if the copy failed we now have a zero length instances floating 248 # around that must be removed 249 unless ($self->delete_instance("$uri")) { 250 $log->logdie( "can not copy instance $uri AND FAILED TO CLEANUP EMPTY INSTANCE" ); 251 } 248 252 $log->logdie( "can not copy instance $uri" ); 249 253 }
Note:
See TracChangeset
for help on using the changeset viewer.
