/[Sack]/trunk/lib/Sack/Server.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Sack/Server.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 253 by dpavlin, Fri Nov 27 13:48:54 2009 UTC revision 254 by dpavlin, Thu Dec 24 13:06:25 2009 UTC
# Line 96  sub load_shard { Line 96  sub load_shard {
96          }          }
97    
98          foreach my $s ( @shards ) {          foreach my $s ( @shards ) {
99                  next if $info->{shard}->{$s} =~ m{^\d+$};                  if ( my $node = $info->{shard}->{$s} ) {
100                            next if $node =~ m{^\d+$}; # not node number
101                    }
102                  $info->{shard}->{$s} = 'wait';                  $info->{shard}->{$s} = 'wait';
103                  push @shard_load_queue, $s;                  push @shard_load_queue, $s;
104                  warn "queued $s for loading\n";                  warn "queued $s for loading\n";

Legend:
Removed from v.253  
changed lines
  Added in v.254

  ViewVC Help
Powered by ViewVC 1.1.26