triglav-agent-hdfs 1.0.0.rc2-java → 1.0.0.rc3-java

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: 9a91b6b3c3c5eaed6e47873427df60d5cd527035
4
- data.tar.gz: 03e5d911634698e925262c56dce8410fc2ecebd7
3
+ metadata.gz: c0a79f6af4229f1dc88ad37fe153bb0b2028d63f
4
+ data.tar.gz: bc1425665f32eb71515a50e71a9f47265ca4d13f
5
5
  SHA512:
6
- metadata.gz: 10942b411143434c33d50dbcb675a5780db045f5010d5be544414cecd4bb96cb48645b2e50c538bc2d951139f39bb525a1100596bf1cc55d1657f93cad64d01b
7
- data.tar.gz: 4e61d0f7dcbfd67f7fdf87e7955e2e0977824d2a20a3bf0548af6b1a71c5cb3911ba831cce640e98d6f9371923e19182389e6d2d0dc77a55484270f46653edb2
6
+ metadata.gz: 92cd09e8174dd32bada8fd58acce2ff5f389a12d484c534c20982f56be3dbd05318f80d5c8caf6d249d1caf59a11a755d1479b56978766d5e3632603c0fe71d1
7
+ data.tar.gz: b94fc6c48d09127720f1bc3a9341d872e856708fc007e7349918e8aecd17cf9f442dc0ea0ffcf368a4e045bf30545d48bc97d2be2c1cbb70fa625b5585705d31
@@ -59,8 +59,8 @@ module Triglav::Agent
59
59
  end
60
60
 
61
61
  def get_last_modification_times
62
- max_last_modification_time = @status.getsetnx([:max], $setting.debug? ? 0 : get_current_time)
63
62
  last_modification_times = @status.get
63
+ max_last_modification_time = last_modification_times[:max] || @status.getsetnx([:max], $setting.debug? ? 0 : get_current_time)
64
64
  removes = last_modification_times.keys - paths.keys
65
65
  appends = paths.keys - last_modification_times.keys
66
66
  removes.each {|path| last_modification_times.delete(path) }
@@ -1,7 +1,7 @@
1
1
  module Triglav
2
2
  module Agent
3
3
  module Hdfs
4
- VERSION = "1.0.0.rc2"
4
+ VERSION = "1.0.0.rc3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: triglav-agent-hdfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc2
4
+ version: 1.0.0.rc3
5
5
  platform: java
6
6
  authors:
7
7
  - Triglav Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-17 00:00:00.000000000 Z
11
+ date: 2017-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement