elasticsearch_s3_backup 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc0cc6ca6194a3876f9d2fa7ab4094a5b9e87a7c
4
- data.tar.gz: eeb0a6e09c789cc172782690102ae6816380498b
3
+ metadata.gz: 97ba7cb15d27a52acd1a766e5c48efaf5d1e1c7c
4
+ data.tar.gz: 8922e8a9e2cff8bc06ff93bb10551ac9c3479804
5
5
  SHA512:
6
- metadata.gz: 2fcd218fec0f59e244c4031f524e30f82c073d61c52c28425c696c4628d2ccdb38a8631fa7692edcd895f2ca261c29ae1ab2cce977cb564aa8b9e6415f6278ed
7
- data.tar.gz: 4511af08a7d651f7d9e9ddaa46f6f671836f1f60e81c77a139a55bdfaefe25d30d958637719180f5f533586f7154c1eaf48667c347085fed88862f8457860f84
6
+ metadata.gz: a294ec99770101e78dc4286ecd647bdf84c2ff20d189138a366aad8f42d6727af952f93942dbdc8d24b34f7b737319720d8dc59b917579b8ad1d3eaa78c2b952
7
+ data.tar.gz: c9890cd903a778551d4978ad04c2aebeaed36eb793ba6d2059e4dd7ba39a23e270053b1259598cc54aedbd5043d126aad058ac72c44a79f671fa12194972501e
@@ -1,5 +1,5 @@
1
1
  module EverTools
2
2
  class ElasticsearchS3Backup
3
- VERSION = '2.0.4'
3
+ VERSION = '2.0.5'
4
4
  end
5
5
  end
@@ -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 == 'none'
126
+ cluster_settings.transient_.cluster_.routing_.allocation_.enable == 'all'
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'
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.4
4
+ version: 2.0.5
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-27 00:00:00.000000000 Z
11
+ date: 2017-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler