IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 4, 2007, 1:36:46 PM (19 years ago)
Author:
jhoblitt
Message:

rework the getmountedvol() stored procedure to attempt to work around what appears to be some nasty transacational isolation leak throught that was causing getmountedvol() to randomly hang when nebdiskd changed the mount table.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/t/Test/Nebulous.pm

    r13131 r13251  
    11# Copyright (C) 2004  Joshua Hoblitt
    22#
    3 # $Id: Nebulous.pm,v 1.14 2007-05-02 20:53:42 jhoblitt Exp $
     3# $Id: Nebulous.pm,v 1.15 2007-05-04 23:36:46 jhoblitt Exp $
    44
    55package Test::Nebulous;
     
    6666    $dbh->do(qq{ INSERT INTO volume (vol_id, name, path, allocate, available) VALUES (6, 'node06', ?, TRUE, FALSE) }, undef, $dir4);
    6767    $dbh->do(qq{ INSERT INTO mount VALUES (?, 10e10, 10e7) }, undef, $dir6);
     68
     69    $dbh->do(qq{ call getmountedvol() });
    6870}
    6971
Note: See TracChangeset for help on using the changeset viewer.