fluent-plugin-mysql-replicator 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e43736658fa9d53723c3f1a2089c46108016bc68
4
- data.tar.gz: 187e611b52bfb740337041716f68cddfa879b433
3
+ metadata.gz: f457b520cc136f8ec0b3c78ee690fa20e4ce65a9
4
+ data.tar.gz: 2df7a1c2c1bbf24741b6fbf9ed35b819d499eb80
5
5
  SHA512:
6
- metadata.gz: c89083833cf2cf8e2ae7dadd472227744806700ba59803474b2f3d7a0451a3d1bb996014039a5ef75f2e4d3817403fd6fc13efac45ba03b0597f30b25bb75a8b
7
- data.tar.gz: f127d31178d16bba47b133a537fb1f8f1c2df1813444b05898f712d97914bd8861f5381fa4a1c4ef6a2f7392980c908364ae6a6a7673aad5a825074a1addda61
6
+ metadata.gz: b96f9134fa44ca80468a77abbbc10f30f28f8a1c12cd60a91e56f0c1a4a9e8e4768d41faa67646f57ea3b045815eb753bf6e1a89bb92c5385faf2afdc6786f11
7
+ data.tar.gz: '088c4f52b9565348fde62f86232b23f315b268db9e5d52bdcda7055eca2167b837336e0b18ede444657c0c0acf1c2083de245dd15c15f18e9caa529f44ebcf70'
data/README.md CHANGED
@@ -31,10 +31,13 @@ install with gem or fluent-gem command as:
31
31
 
32
32
  `````
33
33
  # for system installed fluentd
34
- $ gem install fluent-plugin-mysql-replicator -v 0.6.1
34
+ $ gem install fluent-plugin-mysql-replicator -v 1.0.1
35
35
 
36
36
  # for td-agent2
37
37
  $ sudo td-agent-gem install fluent-plugin-mysql-replicator -v 0.6.1
38
+
39
+ # for td-agent3
40
+ $ sudo td-agent-gem install fluent-plugin-mysql-replicator -v 1.0.1
38
41
  `````
39
42
 
40
43
  ## Included plugins
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = "fluent-plugin-mysql-replicator"
4
- s.version = "1.0.0"
4
+ s.version = "1.0.1"
5
5
  s.authors = ["Kentaro Yoshida"]
6
6
  s.email = ["y.ken.studio@gmail.com"]
7
7
  s.homepage = "https://github.com/y-ken/fluent-plugin-mysql-replicator"
@@ -105,6 +105,9 @@ module Fluent::Plugin
105
105
  rows_count += 1
106
106
  end
107
107
  db.close
108
+ unless config['prepared_query'].nil?
109
+ nest_db.close
110
+ end
108
111
  elapsed_time = sprintf("%0.02f", Time.now - start_time)
109
112
  @mutex.synchronize {
110
113
  log.info "mysql_replicator_multi: execution finished. :setting_name=>#{config['name']} :rows_count=>#{rows_count} :elapsed_time=>#{elapsed_time} sec"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-mysql-replicator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kentaro Yoshida
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-13 00:00:00.000000000 Z
11
+ date: 2019-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake