Skip to content

Commit 5e22b8b

Browse files
Replaced native memory threshold settings with JVM heap memory threshold. (#788)
Signed-off-by: Nathalie Jonathan <[email protected]>
1 parent 0d63cdb commit 5e22b8b

11 files changed

+11
-11
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
9797
- Fixed ingest API schemas ([#766](https://github.com/opensearch-project/opensearch-api-specification/pull/766))
9898
- Fixed CAT API schemas ([#769](https://github.com/opensearch-project/opensearch-api-specification/pull/769))
9999
- Fixed core API schemas ([#777](https://github.com/opensearch-project/opensearch-api-specification/pull/777))
100-
- Fixed Memory Circuit Breaker flaky test in ML Model APIs ([#782](https://github.com/opensearch-project/opensearch-api-specification/pull/782))
100+
- Fixed Memory Circuit Breaker flaky error in ML APIs ([#788](https://github.com/opensearch-project/opensearch-api-specification/pull/788))
101101

102102
### Changed
103103
- Changed `tasks._common:TaskInfo` and `tasks._common:TaskGroup` to be composed of a `tasks._common:TaskInfoBase` ([#683](https://github.com/opensearch-project/opensearch-api-specification/pull/683))

tests/plugins/ml/ml/controller/create.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ prologues:
88
request:
99
payload:
1010
persistent:
11-
plugins.ml_commons.native_memory_threshold: 100
11+
plugins.ml_commons.jvm_heap_memory_threshold: 100
1212
- path: /_plugins/_ml/models/_register
1313
id: register_model
1414
method: POST

tests/plugins/ml/ml/controller/delete.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ prologues:
88
request:
99
payload:
1010
persistent:
11-
plugins.ml_commons.native_memory_threshold: 100
11+
plugins.ml_commons.jvm_heap_memory_threshold: 100
1212
- path: /_plugins/_ml/models/_register
1313
id: register_model
1414
method: POST

tests/plugins/ml/ml/controller/get.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ prologues:
88
request:
99
payload:
1010
persistent:
11-
plugins.ml_commons.native_memory_threshold: 100
11+
plugins.ml_commons.jvm_heap_memory_threshold: 100
1212
- path: /_plugins/_ml/models/_register
1313
id: register_model
1414
method: POST

tests/plugins/ml/ml/controller/update.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ prologues:
88
request:
99
payload:
1010
persistent:
11-
plugins.ml_commons.native_memory_threshold: 100
11+
plugins.ml_commons.jvm_heap_memory_threshold: 100
1212
- path: /_plugins/_ml/models/_register
1313
id: register_model
1414
method: POST

tests/plugins/ml/ml/models/load.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ prologues:
77
request:
88
payload:
99
persistent:
10-
plugins.ml_commons.native_memory_threshold: 100
10+
plugins.ml_commons.jvm_heap_memory_threshold: 100
1111
- path: /_plugins/_ml/models/_register
1212
id: register_model
1313
method: POST

tests/plugins/ml/ml/models/predict.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ prologues:
1010
persistent:
1111
plugins.ml_commons.only_run_on_ml_node: false
1212
plugins.ml_commons.model_access_control_enabled: true
13-
plugins.ml_commons.native_memory_threshold: 100
13+
plugins.ml_commons.jvm_heap_memory_threshold: 100
1414
- path: /_plugins/_ml/model_groups/_register
1515
id: create_model_group
1616
method: POST

tests/plugins/ml/ml/models/search.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ prologues:
88
request:
99
payload:
1010
persistent:
11-
plugins.ml_commons.native_memory_threshold: 100
11+
plugins.ml_commons.jvm_heap_memory_threshold: 100
1212
- path: /_plugins/_ml/models/_register
1313
id: register_model
1414
method: POST

tests/plugins/ml/ml/models/undeploy.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ prologues:
99
payload:
1010
persistent:
1111
plugins.ml_commons.allow_custom_deployment_plan: true
12-
plugins.ml_commons.native_memory_threshold: 100
12+
plugins.ml_commons.jvm_heap_memory_threshold: 100
1313
- path: /_plugins/_ml/models/_register
1414
id: register_model
1515
method: POST

tests/plugins/ml/ml/models/unload.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ prologues:
88
payload:
99
persistent:
1010
plugins.ml_commons.allow_custom_deployment_plan: true
11-
plugins.ml_commons.native_memory_threshold: 100
11+
plugins.ml_commons.jvm_heap_memory_threshold: 100
1212
- path: /_plugins/_ml/models/_register
1313
id: register_model
1414
method: POST

tests/plugins/ml/ml/models/upload.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ prologues:
77
request:
88
payload:
99
persistent:
10-
plugins.ml_commons.native_memory_threshold: 100
10+
plugins.ml_commons.jvm_heap_memory_threshold: 100
1111
epilogues:
1212
- path: /_plugins/_ml/tasks/{task_id}
1313
id: get_completed_task

0 commit comments

Comments
 (0)