elasticsearch_s3_backup 2.0.5 → 2.0.6

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: 97ba7cb15d27a52acd1a766e5c48efaf5d1e1c7c
4
- data.tar.gz: 8922e8a9e2cff8bc06ff93bb10551ac9c3479804
3
+ metadata.gz: 3d8eb8fee3a310dcb8d8e093bbd95269d3cf983b
4
+ data.tar.gz: fb0fd11d7e57a1364a2624ced4cad2c1adc3eb24
5
5
  SHA512:
6
- metadata.gz: a294ec99770101e78dc4286ecd647bdf84c2ff20d189138a366aad8f42d6727af952f93942dbdc8d24b34f7b737319720d8dc59b917579b8ad1d3eaa78c2b952
7
- data.tar.gz: c9890cd903a778551d4978ad04c2aebeaed36eb793ba6d2059e4dd7ba39a23e270053b1259598cc54aedbd5043d126aad058ac72c44a79f671fa12194972501e
6
+ metadata.gz: ed6e7acb3a3c18079e6ef9cfb897c2a13736932ee7a9f605528936d88ef38674abcf9a0a53aef86070bf02c2c3ddbadead919e5e1cf00301f823cfe7c66bbfae
7
+ data.tar.gz: 48fa0c7ccabb411773edbe731070eddda97d40cb4041967ba068bd22b3b6c24c954cacfc7fb0c12d9af4990cedfce9f13c578fac6e45697660568692c0655bfc
@@ -123,7 +123,7 @@ module EverTools
123
123
  def wait_for_cluster_state!
124
124
  tries = 0
125
125
  until (cluster_settings = Hashie::Mash.new es_api.cluster.get_settings) &&
126
- cluster_settings.transient_.cluster_.routing_.allocation_.enable == 'all'
126
+ [nil, 'all'].include?(cluster_settings.transient_.cluster_.routing_.allocation_.enable)
127
127
  fail 'Shard reallocation is disabled. Snapshot cannot proceed because creating the test ' \
128
128
  'index in this state will put the cluster into RED state.' if tries >= 5
129
129
  logger.warn 'Waiting for shard reallocation to be re-enabled'
@@ -1,5 +1,5 @@
1
1
  module EverTools
2
2
  class ElasticsearchS3Backup
3
- VERSION = '2.0.5'
3
+ VERSION = '2.0.6'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch_s3_backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Herot
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-28 00:00:00.000000000 Z
11
+ date: 2017-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler