IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19144


Ignore:
Timestamp:
Aug 20, 2008, 4:26:58 PM (18 years ago)
Author:
jhoblitt
Message:

change the get_replication_volume_for_ext_id query to choose a storage volume (that meets the critera) at random

Location:
trunk/Nebulous-Server
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/Changes

    r18457 r19144  
    11Revision history for Nebulous
     2
     30.14 Wed Aug 20 16:25:43 HST 2008
     4    - change the get_replication_volume_for_ext_id query to choose a storage
     5      volume (that meets the critera) at random
    26
    370.13 Wed Jul  9 16:36:27 HST 2008
  • trunk/Nebulous-Server/lib/Nebulous/Server.pm

    r19036 r19144  
    11# Copyright (c) 2004-2008  Joshua Hoblitt
    22#
    3 # $Id: Server.pm,v 1.82 2008-08-12 23:53:40 jhoblitt Exp $
     3# $Id: Server.pm,v 1.83 2008-08-21 02:26:58 jhoblitt Exp $
    44
    55package Nebulous::Server;
     
    99no warnings qw( uninitialized );
    1010
    11 our $VERSION = '0.13';
     11our $VERSION = '0.14';
    1212
    1313use base qw( Class::Accessor::Fast );
  • trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm

    r18434 r19144  
    11# Copyright (c) 2004  Joshua Hoblitt
    22#
    3 # $Id: SQL.pm,v 1.62 2008-07-07 23:37:48 jhoblitt Exp $
     3# $Id: SQL.pm,v 1.63 2008-08-21 02:26:58 jhoblitt Exp $
    44
    55package Nebulous::Server::SQL;
     
    251251            AND available = ?
    252252            AND allocate = ?
    253         ORDER BY free DESC
     253        ORDER BY RAND()
    254254        LIMIT 1
    255255    },
Note: See TracChangeset for help on using the changeset viewer.