2014-02-18 17:28:49 -05:00
|
|
|
---
|
|
|
|
"Indices recovery test":
|
|
|
|
|
|
|
|
- do:
|
|
|
|
indices.create:
|
|
|
|
index: test_1
|
2014-03-22 13:36:34 -04:00
|
|
|
body:
|
|
|
|
settings:
|
|
|
|
index:
|
|
|
|
number_of_replicas: 0
|
2014-02-18 17:28:49 -05:00
|
|
|
|
2014-03-21 05:24:07 -04:00
|
|
|
- do:
|
|
|
|
cluster.health:
|
|
|
|
wait_for_status: yellow
|
|
|
|
|
2014-02-18 17:28:49 -05:00
|
|
|
- do:
|
|
|
|
indices.recovery:
|
|
|
|
index: [test_1]
|
|
|
|
|
|
|
|
- match: { test_1.shards.0.type: "GATEWAY" }
|
|
|
|
- match: { test_1.shards.0.stage: "DONE" }
|
|
|
|
- match: { test_1.shards.0.primary: true }
|
|
|
|
- match: { test_1.shards.0.target.ip: /^\d+\.\d+\.\d+\.\d+$/ }
|
|
|
|
- gte: { test_1.shards.0.index.files.total: 0 }
|
|
|
|
- gte: { test_1.shards.0.index.files.reused: 0 }
|
|
|
|
- gte: { test_1.shards.0.index.files.recovered: 0 }
|
|
|
|
- match: { test_1.shards.0.index.files.percent: /^\d+\.\d\%$/ }
|
2015-02-10 02:54:03 -05:00
|
|
|
- gte: { test_1.shards.0.index.size.total_in_bytes: 0 }
|
|
|
|
- gte: { test_1.shards.0.index.size.reused_in_bytes: 0 }
|
|
|
|
- gte: { test_1.shards.0.index.size.recovered_in_bytes: 0 }
|
|
|
|
- match: { test_1.shards.0.index.size.percent: /^\d+\.\d\%$/ }
|
2014-02-18 17:28:49 -05:00
|
|
|
- gte: { test_1.shards.0.translog.recovered: 0 }
|
2015-03-07 10:50:32 -05:00
|
|
|
- gte: { test_1.shards.0.translog.total: -1 }
|
|
|
|
- gte: { test_1.shards.0.translog.total_on_start: 0 }
|
2014-02-18 17:28:49 -05:00
|
|
|
- gte: { test_1.shards.0.translog.total_time_in_millis: 0 }
|
|
|
|
- gte: { test_1.shards.0.start.check_index_time_in_millis: 0 }
|
|
|
|
- gte: { test_1.shards.0.start.total_time_in_millis: 0 }
|
|
|
|
|
|
|
|
|