IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31944


Ignore:
Timestamp:
Jul 27, 2011, 5:30:33 PM (15 years ago)
Author:
watersc1
Message:

add xattr based filtering to ensure we continue to shuffle to the ATRC as the MHPCC hosts empty out

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20110622/Nebulous-Server/bin/neb-admin

    r31890 r31944  
    325325        mountedvol JOIN volume USING(vol_id)
    326326        WHERE mountedvol.available = 1
     327        AND mountedvol.xattr = 0
    327328        ORDER BY delta DESC LIMIT $balance_N_sources                                            -- N
    328329        ) AS ranked_sources
     
    342343                cab_id FROM
    343344         mountedvol JOIN volume USING(vol_id)
    344          WHERE mountedvol.available = 1 AND mountedvol.allocate = 1
     345         WHERE mountedvol.available = 1 AND mountedvol.allocate = 1
     346         AND mountedvol.xattr = 1
    345347         ORDER BY delta ASC LIMIT $balance_M_destinations                                               -- M
    346348       ) AS ranked_destinations
Note: See TracChangeset for help on using the changeset viewer.