ec2-consistent-snapshot-rb 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/bin/ec2-consistent-snapshot-rb +2 -2
- data/ec2-consistent-snapshot-rb.gemspec +2 -2
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
@@ -71,11 +71,11 @@ def mysql_locked(&block)
|
|
71
71
|
end
|
72
72
|
|
73
73
|
if $opts[:mysql_slave_status_file]
|
74
|
-
File.open($opts[:mysql_slave_status_file], "w") {|f| f.puts query_result_string(mysql, "SHOW SLAVE STATUS") }
|
74
|
+
File.open($opts[:mysql_slave_status_file], "w") {|f| f.puts query_result_string(mysql, "SHOW SLAVE STATUS"); f.fsync }
|
75
75
|
end
|
76
76
|
|
77
77
|
if $opts[:mysql_master_status_file]
|
78
|
-
File.open($opts[:mysql_master_status_file], "w") {|f| f.puts query_result_string(mysql, "SHOW MASTER STATUS") }
|
78
|
+
File.open($opts[:mysql_master_status_file], "w") {|f| f.puts query_result_string(mysql, "SHOW MASTER STATUS"); f.fsync }
|
79
79
|
end
|
80
80
|
|
81
81
|
mysql.query("SET SQL_LOG_BIN=1")
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ec2-consistent-snapshot-rb}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.4.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Zach Wily"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-08-23}
|
13
13
|
s.default_executable = %q{ec2-consistent-snapshot-rb}
|
14
14
|
s.description = %q{Ported from ec2-consistent-snapshot (http://alestic.com/2009/09/ec2-consistent-snapshot)}
|
15
15
|
s.email = %q{zach@zwily.com}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ec2-consistent-snapshot-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 4
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.4.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Zach Wily
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-23 00:00:00 -06:00
|
19
19
|
default_executable: ec2-consistent-snapshot-rb
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|