bricolage-streamingload 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bricolage/streamingload/job.rb +12 -1
- data/lib/bricolage/streamingload/version.rb +1 -1
- 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: 8bc418b99ed85932c9f2483d643b34d6a76788f0
|
4
|
+
data.tar.gz: 5a1310ac8711de6c9d009ea1405ab9ba7e50918b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c205fe5bf75dfee2fb4abe845afb0c8ac91118a461c6b54e4f8534b69262f3db37cff1ddac9d874f8370b94ad89cfc2772b96cb95539cb8e9a453e919f7def62
|
7
|
+
data.tar.gz: 6d4319ce64cf4a115606075d1edb16df725b781ab7c8a6c362df608d4ed6c095e50e80682cdaaf36285781bac34a8117d99688e832862e0b688b79e47f20c0ca
|
@@ -55,7 +55,9 @@ module Bricolage
|
|
55
55
|
return false
|
56
56
|
rescue DataConnectionFailed
|
57
57
|
wait_for_connection('data', @data_ds) unless fail_fast
|
58
|
-
|
58
|
+
# FIXME: tmp: We don't know the transaction was succeeded or not in the Redshift, auto-retry is too dangerous.
|
59
|
+
#return false
|
60
|
+
return true
|
59
61
|
rescue JobFailure
|
60
62
|
return false
|
61
63
|
rescue JobError
|
@@ -96,6 +98,15 @@ module Bricolage
|
|
96
98
|
}
|
97
99
|
rescue ControlConnectionFailed
|
98
100
|
raise
|
101
|
+
|
102
|
+
# FIXME: tmp: should be a failure, not an error.
|
103
|
+
rescue DataConnectionFailed => ex
|
104
|
+
@logger.error ex.message
|
105
|
+
ctl.open {
|
106
|
+
ctl.abort_job job_id, 'error', ex.message.lines.first.strip
|
107
|
+
}
|
108
|
+
raise
|
109
|
+
|
99
110
|
rescue JobFailure => ex
|
100
111
|
@logger.error ex.message
|
101
112
|
ctl.open {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bricolage-streamingload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Minero Aoki
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-10-
|
12
|
+
date: 2016-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bricolage
|