IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32502


Ignore:
Timestamp:
Oct 6, 2011, 2:12:17 PM (15 years ago)
Author:
watersc1
Message:

Try to make this operation more efficient at shuffling, by mandating a
neb-repair attempt before doing anything. This should pre-emptively
fix any bad instances, and then allow the shuffle to succeed before
shifting the file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/bin/neb-insedit

    r32394 r32502  
    6464die "can't connected to Nebulous Server: $nebhost"
    6565    unless defined $neb;
     66
     67
     68# Pre-emptively attempt repair of file.  This will ~double our execution time, but should help the efficiency.
     69system("neb-repair $key");
     70
     71# Do checks now.
    6672
    6773my $stat = $neb->stat($key);
Note: See TracChangeset for help on using the changeset viewer.