Skip to content

Commit

Permalink
Fixing soft deletes deprecation warning
Browse files Browse the repository at this point in the history
Signed-off-by: Vacha Shah <[email protected]>
  • Loading branch information
VachaShah committed Mar 4, 2022
1 parent 34a6b2d commit 0ad79b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ static Settings aggregateIndexSettings(
shardLimitValidator.validateShardLimit(indexSettings, currentState);
if (indexSettings.getAsBoolean(IndexSettings.INDEX_SOFT_DELETES_SETTING.getKey(), true) == false) {
DEPRECATION_LOGGER.deprecate(
"soft_deletes_disabled",
request.index() + "soft_deletes_disabled",
"Creating indices with soft-deletes disabled is deprecated and will be removed in future OpenSearch versions. "
+ "Please do not specify value for setting [index.soft_deletes.enabled] of index ["
+ request.index()
Expand Down

0 comments on commit 0ad79b4

Please sign in to comment.