Skip to content

Commit 6e07158

Browse files
authored
Unmute rollover docs test (elastic#62603) (elastic#62605)
The underlying issue was fixed a while ago in Lucene: https://issues.apache.org/jira/browse/LUCENE-9517 and went away when lucene snapshot version was upgraded. Also the name of the index to rollover had to be slightly changed, so that it doesn't collide with data stream template's namespace. (a regular index can't be created in the namespace that is managed by a template that creates data streams) Closes elastic#62043
1 parent b072de4 commit 6e07158

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/reference/indices/rollover-index.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ index is rolled over. For instance:
372372
[source,console]
373373
--------------------------------------------------
374374
# PUT /<logs-{now/d}-1> with URI encoding:
375-
PUT /%3Clogs-%7Bnow%2Fd%7D-1%3E <1>
375+
PUT /%3Clogs_%7Bnow%2Fd%7D-1%3E <1>
376376
{
377377
"aliases": {
378378
"logs_write": {}
@@ -395,10 +395,10 @@ POST /logs_write/_rollover <2>
395395
}
396396
}
397397
--------------------------------------------------
398-
// TEST[skip:"AwaitsFix https://github.com/elastic/elasticsearch/issues/62043"]
398+
// TEST[s/now/2016.10.31%7C%7C/]
399399

400-
<1> Creates an index named with today's date (e.g.) `logs-2016.10.31-1`
401-
<2> Rolls over to a new index with today's date, e.g. `logs-2016.10.31-000002` if run immediately, or `logs-2016.11.01-000002` if run after 24 hours
400+
<1> Creates an index named with today's date (e.g.) `logs_2016.10.31-1`
401+
<2> Rolls over to a new index with today's date, e.g. `logs_2016.10.31-000002` if run immediately, or `logs-2016.11.01-000002` if run after 24 hours
402402

403403
//////////////////////////
404404
@@ -411,12 +411,12 @@ GET _alias
411411
[source,console-result]
412412
--------------------------------------------------
413413
{
414-
"logs-2016.10.31-000002": {
414+
"logs_2016.10.31-000002": {
415415
"aliases": {
416416
"logs_write": {}
417417
}
418418
},
419-
"logs-2016.10.31-1": {
419+
"logs_2016.10.31-1": {
420420
"aliases": {}
421421
}
422422
}

0 commit comments

Comments
 (0)