IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 30, 2009, 4:56:31 PM (17 years ago)
Author:
watersc1
Message:

Updated the topfew_count to be 15 (from 3. 15 is roughly a quarter of the cluster).

Reworked the replication volume selection SQL to run in a reasonable timescale.

File:
1 edited

Legend:

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

    r26292 r26294  
    4040
    4141# This determines how many entries from the list of volumes sorted by free space are randomized.
    42 my $topfew_count = 3;
     42my $topfew_count = 15;
    4343
    4444# transaction restart/retry regex
     
    21302130            # %free, avaiable, allocate
    21312131            $rows = $query->execute(0.95, 1, 1, $topfew_count);
     2132#           $log->warn("Storage_volume: $rows $topfew_count");
    21322133            # there has to be atleast one storage volume
    21332134            unless ($rows > 0) {
Note: See TracChangeset for help on using the changeset viewer.