flydata 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/flydata.gemspec +3 -3
- data/lib/flydata/command/sync.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eda267f32da9fd2ce6f6dd3ad583b2803d689ce
|
4
|
+
data.tar.gz: 43876505915eee1ef232973a23de0d432afcb7e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 927ee474b1b8567b25667d24e2bd876bbde521192566f59fd24c53c82ea1fe181fea48087183490674feaa283139f0379af481a07d6a6558720a719fe3ee39b4
|
7
|
+
data.tar.gz: 17dcdec903a1a1c9bf137005b57495f272655c291103f377005ca8cf30208ecb7dba68ed0a564f1a2c11556764e0ddab545277c990439bc72e67fc2885226267
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.4
|
data/flydata.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: flydata 0.3.
|
5
|
+
# stub: flydata 0.3.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "flydata"
|
9
|
-
s.version = "0.3.
|
9
|
+
s.version = "0.3.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Koichi Fujikawa", "Masashi Miyazaki", "Matthew Luu", "Mak Inada", "Sriram NS"]
|
14
|
-
s.date = "2015-02-
|
14
|
+
s.date = "2015-02-28"
|
15
15
|
s.description = "FlyData Agent"
|
16
16
|
s.email = "sysadmin@flydata.com"
|
17
17
|
s.executables = ["fdmysqldump", "flydata", "serverinfo"]
|
data/lib/flydata/command/sync.rb
CHANGED
@@ -37,6 +37,8 @@ module Flydata
|
|
37
37
|
on 'd', 'dump-file', 'Dump mysqldump into a file. Use this for debugging after making sure the free space.' # dummy for compatibility
|
38
38
|
on 's', 'dump-stream', 'Dump mysqldump stream instead of saving dump file. It might cause timeout error if db size is larger than 10GB.'
|
39
39
|
on 'n', 'no-flydata-start', 'Don\'t start the flydata agent after initial sync.'
|
40
|
+
#TODO : This option is temp! Should remove soon.
|
41
|
+
on 'ff', 'Skip checking query queue and flush'
|
40
42
|
end
|
41
43
|
end
|
42
44
|
|
@@ -225,6 +227,13 @@ EOS
|
|
225
227
|
state = :UPLOAD
|
226
228
|
log_info_stdout("Finishing data upload...")
|
227
229
|
end
|
230
|
+
|
231
|
+
#TODO This is based on a temporary option
|
232
|
+
if state == :UPLOAD && opts.ff?
|
233
|
+
log_info_stdout("Skip checking for pending uploads")
|
234
|
+
break
|
235
|
+
end
|
236
|
+
|
228
237
|
if status['message'] != prev_message
|
229
238
|
# making some progress. Reset timer
|
230
239
|
start_time = Time.now
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flydata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Koichi Fujikawa
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-02-
|
15
|
+
date: 2015-02-28 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rest-client
|