Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
More reloads!
Browse files Browse the repository at this point in the history
  • Loading branch information
Stu Hood committed May 20, 2012
1 parent 57597eb commit 0b74fd7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/gizzard/transformation_scheduler.rb
Expand Up @@ -194,8 +194,13 @@ def end_settling_jobs(jobs)
end end
Gizzard::confirm!(@force, "Finished copies: destination shards are now receiving writes, but " + Gizzard::confirm!(@force, "Finished copies: destination shards are now receiving writes, but " +
"not reads. Wait until queues are drained, and then enter 'y' to proceed.") "not reads. Wait until queues are drained, and then enter 'y' to proceed.")
unblocked_count = 0
jobs.each do |j| jobs.each do |j|
apply_job(j, :unblock_reads) apply_job(j, :unblock_reads)
unblocked_count += 1
if unblocked_count > max_copies
nameserver.reload_updated_forwardings
end
end end
nameserver.reload_updated_forwardings nameserver.reload_updated_forwardings
Gizzard::confirm!(@force, "Destination shards are now receiving reads and writes. Wait until " + Gizzard::confirm!(@force, "Destination shards are now receiving reads and writes. Wait until " +
Expand Down

0 comments on commit 0b74fd7

Please sign in to comment.