From 0a907ff68315cc31d6df125bed87f3a48eef1263 Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Tue, 6 Jul 2021 15:30:31 +0100 Subject: [PATCH 1/3] Deprecate frozen indices endpoint --- .../src/main/resources/rest-api-spec/api/indices.freeze.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.freeze.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.freeze.json index e743a53cab379..3ea48ef4d91f0 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.freeze.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.freeze.json @@ -21,6 +21,10 @@ "type":"string", "description":"The name of the index to freeze" } + }, + "deprecated":{ + "version":"7.14.0", + "description":"Frozen indices are deprecated because they provide no benefit given improvements in heap memory utilization. They will be removed in 8.0." } } ] From a7c2e3ed86289be72f205ab73755b91b97ef522b Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Tue, 6 Jul 2021 16:19:03 +0100 Subject: [PATCH 2/3] Improve description to match warning --- .../src/main/resources/rest-api-spec/api/indices.freeze.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.freeze.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.freeze.json index 3ea48ef4d91f0..f7ef92dfd4266 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.freeze.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.freeze.json @@ -24,7 +24,7 @@ }, "deprecated":{ "version":"7.14.0", - "description":"Frozen indices are deprecated because they provide no benefit given improvements in heap memory utilization. They will be removed in 8.0." + "description":"Frozen indices are deprecated because they provide no benefit given improvements in heap memory utilization. They will be removed in a future release." } } ] From af8ebc3280842cdbb376ea4d279454c7257fac6e Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Wed, 7 Jul 2021 14:14:21 +0100 Subject: [PATCH 3/3] Deprecate indices.unfreeze in REST API specs --- .../main/resources/rest-api-spec/api/indices.unfreeze.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.unfreeze.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.unfreeze.json index c51f70e141f46..2327519ff2816 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/indices.unfreeze.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.unfreeze.json @@ -21,6 +21,10 @@ "type":"string", "description":"The name of the index to unfreeze" } + }, + "deprecated":{ + "version":"7.14.0", + "description":"Frozen indices are deprecated because they provide no benefit given improvements in heap memory utilization. They will be removed in a future release." } } ]