Skip to content

Commit a3a312f

Browse files
authored
Fix owner of ?wait_for_active_shards=index-setting update (#115837)
This warning relates to the close index API and the corresponding entry in `RestCloseIndexAction` has `DATA_MANAGEMENT` as the owner, so we should use the same owner here.
1 parent efcdd60 commit a3a312f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/framework/src/main/java/org/elasticsearch/test/rest/ESRestTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1909,7 +1909,7 @@ protected static boolean indexExists(RestClient client, String index) throws IOE
19091909
* emitted in v8. Note that this message is also permitted in certain YAML test cases, it can be removed there too.
19101910
* See https://github.com/elastic/elasticsearch/issues/66419 for more details.
19111911
*/
1912-
@UpdateForV9(owner = UpdateForV9.Owner.DISTRIBUTED_COORDINATION)
1912+
@UpdateForV9(owner = UpdateForV9.Owner.DATA_MANAGEMENT)
19131913
private static final String WAIT_FOR_ACTIVE_SHARDS_DEFAULT_DEPRECATION_MESSAGE = "the default value for the ?wait_for_active_shards "
19141914
+ "parameter will change from '0' to 'index-setting' in version 8; specify '?wait_for_active_shards=index-setting' "
19151915
+ "to adopt the future default behaviour, or '?wait_for_active_shards=0' to preserve today's behaviour";

0 commit comments

Comments
 (0)