IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31850 for trunk/Nebulous


Ignore:
Timestamp:
Jul 8, 2011, 6:07:31 PM (15 years ago)
Author:
watersc1
Message:

Attempt to force NFS to stop lying to us on neb-replicate calls. Silence glockfile from printing status statement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/lib/Nebulous/Client.pm

    r29890 r31850  
    262262    $log->debug( "copied instance" );
    263263
     264    # Force a flush to disk
     265    {
     266        my $disk_file_name = $uri->path;
     267#       print ">> $disk_file_name <<\n";
     268        system("glockfile $disk_file_name xcld 0");
     269        unless (($? >> 8) == 0) {
     270            $log->logdie( "can not create a lock on $key at $uri" );
     271        }
     272    }
    264273    close( $fh ) or $log->logdie( "can not close $key" );
    265274    close( $new_fh ) or $log->logdie( "can not close $key" );
Note: See TracChangeset for help on using the changeset viewer.