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 +4 -4
- data/lib/elasticsearch_s3_backup.rb +1 -1
- data/lib/elasticsearch_s3_backup/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: 3d8eb8fee3a310dcb8d8e093bbd95269d3cf983b
|
4
|
+
data.tar.gz: fb0fd11d7e57a1364a2624ced4cad2c1adc3eb24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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'
|
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
|
+
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-
|
11
|
+
date: 2017-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|