IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 12, 2009, 1:33:47 PM (17 years ago)
Author:
jhoblitt
Message:

attempt to retry on duplicate dirnames in the directory table

File:
1 edited

Legend:

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

    r24384 r24387  
    447447            if ($@ =~ $trans_regex) {
    448448                $log->warn("database error, retrying transaction: $@");
     449                $parent_id = 1;
     450                redo TRANS;
     451            }
     452            if ($@ =~ qr/Duplicate entry/) {
     453                $log->warn("Duplicate database entry, retrying transaction: $@");
     454                $parent_id = 1;
    449455                redo TRANS;
    450456            }
Note: See TracChangeset for help on using the changeset viewer.