Skip to content

Commit 30d6185

Browse files
stevejgordonelasticsearchmachine
authored andcommitted
Deprecate freeze and unfreeze indices endpoints in REST API specification (elastic#75042)
* Deprecate frozen indices endpoint * Improve description to match warning * Deprecate unfreeze indices in REST API specs
1 parent fd1ce17 commit 30d6185

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/indices.freeze.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
"type":"string",
2222
"description":"The name of the index to freeze"
2323
}
24+
},
25+
"deprecated":{
26+
"version":"7.14.0",
27+
"description":"Frozen indices are deprecated because they provide no benefit given improvements in heap memory utilization. They will be removed in a future release."
2428
}
2529
}
2630
]

rest-api-spec/src/main/resources/rest-api-spec/api/indices.unfreeze.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
"type":"string",
2222
"description":"The name of the index to unfreeze"
2323
}
24+
},
25+
"deprecated":{
26+
"version":"7.14.0",
27+
"description":"Frozen indices are deprecated because they provide no benefit given improvements in heap memory utilization. They will be removed in a future release."
2428
}
2529
}
2630
]

0 commit comments

Comments
 (0)