IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24412


Ignore:
Timestamp:
Jun 15, 2009, 1:36:49 PM (17 years ago)
Author:
jhoblitt
Message:

attempt to retry nebulous volume failures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server.pm

    r24387 r24412  
    18701870        $query->finish;
    18711871    };
    1872     $log->logdie("database error: $@") if $@;
     1872    if ($@) {
     1873        if ($@ =~ qr/no storage volume is available/) {
     1874            # this should not happen unless all volumes are full
     1875            $log->error($@);
     1876            $log->debug("retrying...");
     1877            return $self->_get_storage_volume(@_);
     1878        }
     1879        # else
     1880        $log->logdie("database error: $@");
     1881    }
    18731882
    18741883    $log->logdie("failed to find a suitable volume" )
Note: See TracChangeset for help on using the changeset viewer.