IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 30, 2009, 4:56:31 PM (16 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/SQL.pm

    r26292 r26294  
    310310                   JOIN volume
    311311                   ON instance.vol_id = volume.vol_id
     312                   WHERE so_id = (
     313                                  SELECT so_id
     314                                  FROM storage_object
     315                                  WHERE ext_id = ?
     316                                 )
    312317                  ) AS i
    313318            ON m.vol_id = i.vol_id
    314             AND i.so_id = (
    315                 SELECT so_id
    316                 FROM storage_object
    317                 WHERE ext_id = ?
    318             )
    319319         WHERE
    320320             i.vol_id IS NULL
Note: See TracChangeset for help on using the changeset viewer.