gizzmo 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/gizzard/commands.rb +4 -4
- data/lib/gizzard/nameserver.rb +1 -1
- data/lib/gizzmo.rb +3 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.13.
|
1
|
+
0.13.1
|
data/lib/gizzard/commands.rb
CHANGED
@@ -979,8 +979,8 @@ module Gizzard
|
|
979
979
|
unless be_quiet
|
980
980
|
transformations.each do |transformation, trees|
|
981
981
|
puts transformation.inspect
|
982
|
-
puts "Applied to #{trees.length} shards
|
983
|
-
trees.keys.sort.each {|f| puts " #{f.inspect}" }
|
982
|
+
puts "Applied to #{trees.length} shards"
|
983
|
+
#trees.keys.sort.each {|f| puts " #{f.inspect}" }
|
984
984
|
end
|
985
985
|
puts ""
|
986
986
|
end
|
@@ -1035,8 +1035,8 @@ module Gizzard
|
|
1035
1035
|
unless be_quiet
|
1036
1036
|
transformations.each do |transformation, trees|
|
1037
1037
|
puts transformation.inspect
|
1038
|
-
puts "Applied to #{trees.length} shards
|
1039
|
-
trees.keys.sort.each {|f| puts " #{f.inspect}" }
|
1038
|
+
puts "Applied to #{trees.length} shards"
|
1039
|
+
#trees.keys.sort.each {|f| puts " #{f.inspect}" }
|
1040
1040
|
end
|
1041
1041
|
puts ""
|
1042
1042
|
end
|
data/lib/gizzard/nameserver.rb
CHANGED
@@ -37,7 +37,7 @@ module Gizzard
|
|
37
37
|
|
38
38
|
REPLICATING_SHARD_TYPES = ["ReplicatingShard", "FailingOverShard"]
|
39
39
|
|
40
|
-
INVALID_COPY_TYPES = ["ReadOnlyShard", "BlackHoleShard", "BlockedShard"]
|
40
|
+
INVALID_COPY_TYPES = ["ReadOnlyShard", "BlackHoleShard", "BlockedShard", "WriteOnlyShard"]
|
41
41
|
|
42
42
|
SHARD_SUFFIXES = {
|
43
43
|
"FailingOverShard" => 'replicating',
|
data/lib/gizzmo.rb
CHANGED
@@ -306,7 +306,7 @@ subcommands = {
|
|
306
306
|
'repair-tables' => OptionParser.new do |opts|
|
307
307
|
opts.banner = "Usage: #{zero} -T TABLE,... repair-tables [options]"
|
308
308
|
separators(opts, DOC_STRINGS["repair-tables"])
|
309
|
-
opts.on("--max-copies=COUNT", "Limit max simultaneous copies to COUNT.") do |c|
|
309
|
+
opts.on("--max-copies=COUNT", "Limit max simultaneous copies to COUNT. (default 100)") do |c|
|
310
310
|
subcommand_options.num_copies = c.to_i
|
311
311
|
end
|
312
312
|
end,
|
@@ -402,6 +402,7 @@ subcommands = {
|
|
402
402
|
'add-partition' => OptionParser.new do |opts|
|
403
403
|
opts.banner = "Usage: #{zero} add-partition [options] TEMPLATE ..."
|
404
404
|
separators(opts, DOC_STRINGS["add-partition"])
|
405
|
+
add_template_opts subcommand_options, opts
|
405
406
|
|
406
407
|
add_scheduler_opts subcommand_options, opts
|
407
408
|
|
@@ -412,6 +413,7 @@ subcommands = {
|
|
412
413
|
'remove-partition' => OptionParser.new do |opts|
|
413
414
|
opts.banner = "Usage: #{zero} remove-partition [options] TEMPLATE ..."
|
414
415
|
separators(opts, DOC_STRINGS["remove-partition"])
|
416
|
+
add_template_opts subcommand_options, opts
|
415
417
|
|
416
418
|
add_scheduler_opts subcommand_options, opts
|
417
419
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gizzmo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 41
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 13
|
9
|
-
-
|
10
|
-
version: 0.13.
|
9
|
+
- 1
|
10
|
+
version: 0.13.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kyle Maxwell
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-01-
|
18
|
+
date: 2012-01-12 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|