-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Circuit-Breaker] Add memory circuit breaker configuration #1347
[Circuit-Breaker] Add memory circuit breaker configuration #1347
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just one comment. thanks zuocheng
3110cb2
to
f9d7351
Compare
f9d7351
to
c8b98af
Compare
Are we adding documentation for this on the OpenSearch Dashboards side of things? |
11f36b7
to
6a6abdf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@zuochengding can we convert this to a draft until this ready to consume. |
6a6abdf
to
bc2272d
Compare
Updated the PR with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM !!
Thanks for blocking, code was merged and npm package was released so now this PR is in a valid state.
Add opensearch.memoryCircuitBreaker.enabled, opensearch.memoryCircuitBreaker.maxPercentage flags in opensearch_dashboards.yml Signed-off-by: Zuocheng Ding <zding817@gmail.com>
1dc085d
to
210f36b
Compare
src/dev/build/tasks/os_packages/docker_generator/resources/bin/opensearch-dashboards-docker
Show resolved
Hide resolved
* Adds new `opensearch.memoryCircuitBreaker.enabled` and `opensearch.memoryCircuitBreaker.maxPercentage` variables for the memory circuit breaker limits. * Issue: opensearch-project/opensearch-js#202 * OpenSearch Dashboards PR: opensearch-project/OpenSearch-Dashboards#1347 Signed-off-by: Tommy Markley <markleyt@amazon.com>
* Cleans up whitespace, reduces delta of the changes. Follow-up from opensearch-project#1347 Signed-off-by: Tommy Markley <markleyt@amazon.com>
* Adds new `opensearch.memoryCircuitBreaker.enabled` and `opensearch.memoryCircuitBreaker.maxPercentage` variables for the memory circuit breaker limits. * Issue: opensearch-project/opensearch-js#202 * OpenSearch Dashboards PR: opensearch-project/OpenSearch-Dashboards#1347 Signed-off-by: Tommy Markley <markleyt@amazon.com>
* Cleans up whitespace, reduces delta of the changes. Follow-up from #1347 Signed-off-by: Tommy Markley <markleyt@amazon.com>
Add responseMaxHeapPercentage, memoryCircuitBreakerEnabled flags in opensearch_dashboards.yml
Signed-off-by: Zuocheng Ding zding817@gmail.com
Description
This PR is going to add the capability for OSD to control the memory circuit breaker limits.
Comment out some code due to the dependency from
opensearch-js
client. Tested through local modification inelasticsearch
Dependency : opensearch-project/opensearch-js#207
Issues Resolved
opensearch-project/opensearch-js#202
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr