Changeset 371
- Timestamp:
- 08/24/06 22:50:05 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/server-newrepl/lib/MogileFS/Worker/Query.pm
r364 r371 174 174 while (scalar(@dests) < ($multi ? 3 : 1)) { 175 175 my $devid = Mgd::find_deviceid( 176 random=> 1,177 weight_by_free => 1,178 not_on_hosts => \@hosts,179 );180 176 random => 1, 177 must_be_writable => 1, 178 weight_by_free => 1, 179 not_on_hosts => \@hosts, 180 ); 181 181 last unless defined $devid; 182 182
