mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
TSDB: Make time boundaries settings required in tsdb indices (#81146)
Make `index.time_series.start_time` and `index.time_series.end_time` settings as required settings in tsdb indices. It will change many tests, among which a time_series index is created, and it will add the `index.time_series.start_time` and `index.time_series.end_time` settings
This commit is contained in:
parent
f9421e4552
commit
2f855aac88
25 changed files with 274 additions and 153 deletions
|
@ -2,8 +2,8 @@
|
|||
setup:
|
||||
# Create a local tsdb index with a tsid the doesn't overlap with the remote cluster.
|
||||
- skip:
|
||||
version: " - 7.99.99"
|
||||
reason: introduced in 8.0.0
|
||||
version: " - 8.0.99"
|
||||
reason: introduced in 8.1.0
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
|
@ -13,6 +13,9 @@ setup:
|
|||
index:
|
||||
mode: time_series
|
||||
routing_path: [metricset, k8s.pod.uid]
|
||||
time_series:
|
||||
start_time: 2021-04-28T00:00:00Z
|
||||
end_time: 2021-04-29T00:00:00Z
|
||||
number_of_replicas: 0
|
||||
number_of_shards: 2
|
||||
mappings:
|
||||
|
|
|
@ -156,8 +156,8 @@
|
|||
---
|
||||
tsdb:
|
||||
- skip:
|
||||
version: " - 7.99.99"
|
||||
reason: introduced in 8.0.0
|
||||
version: " - 8.0.99"
|
||||
reason: introduced in 8.1.0
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
|
@ -167,6 +167,9 @@ tsdb:
|
|||
index:
|
||||
mode: time_series
|
||||
routing_path: [metricset, k8s.pod.uid]
|
||||
time_series:
|
||||
start_time: 2021-04-28T00:00:00Z
|
||||
end_time: 2021-04-29T00:00:00Z
|
||||
number_of_replicas: 0
|
||||
number_of_shards: 2
|
||||
mappings:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue