Skip to content

Commit

Permalink
Revert "Remove workaround in translog rest test (#27530)"
Browse files Browse the repository at this point in the history
Even though the option wait_for_no_initializing_shards is backported to
6.2, we should not remove this workaround on 6.3 because this rest test
will be run in a mixed cluster in which the
wait_for_no_initializing_shards may not be available.

This reverts commit 7aea8b5.
  • Loading branch information
dnhatn committed Mar 31, 2018
1 parent f63b84e commit c1a6e81
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ setup:
- do:
indices.create:
index: test
- do:
cluster.health:
wait_for_no_initializing_shards: true
body:
settings:
index:
# initializing replicas maintain the translog causing the test to fail.
# remove once https://github.com/elastic/elasticsearch/issues/25623 is fixed.
number_of_replicas: 0

---
"Translog retention":
Expand Down

0 comments on commit c1a6e81

Please sign in to comment.