Comments (2)
Did some work on this today.
Aggregation only knows the correct number of buckets for the response at the final reduce phase. Before that, aggregations are done on every shard which may lead to a larger number of buckets (larger than 65535, the limit) to reduce in the end.
So before the reduce phase, what we can do best is to fail gracefully before OOM. Above is a snippet to do that.
I will raise a PR later to add this logic into histogram.
from opensearch.
@bowenlan-amzn , hi, terribly sorry for the delay, wanted to thank you for looking into this and providing a fix 🙇
can't wait to see it in AWS!
from opensearch.
Related Issues (20)
- [BUG] [Batch Mode] Allocation explain API is stuck in AWAITING_INFO even though deciders are returning NO
- [Feature Request] Add ability to configure maxExpansions parameter for Intervals query HOT 3
- [BUG] "." as field name yields array_index_out_of_bounds_exception
- [Feature Request] Create Higher-Level APIs for Plugins to switch contexts HOT 6
- [Feature Request] Build Grok Search Response Processor
- [BUG] New AllocationStatus during Allocator timeout HOT 1
- [BUG] Validate lower limit for Allocator Timeout HOT 1
- Optimise the cluster manager writeTo/readFrom transport call HOT 1
- [BUG] Optimise unassigned shards iteration after allocator timeout HOT 1
- [BUG] Schedule reroute after allocator timeout HOT 1
- [BUG] Expensive setting parsing in ShardsLimitAllocationDecider HOT 1
- [BUG] the aggregation result in float field type is inaccurate HOT 2
- [Feature Request] document `max_input_length` for `completion` type fields
- [BUG] MX bean missing: G1 Concurrent GC error message
- [Feature Request] Monitor the pending task count In netty worker thread pool
- Add handling for master switch, dangling indices, master reload in the Tiering Service
- Introduce retrying mechanism for failed process in tiering
- [BUG in multiple plugins] Using CreateIndexRequest.mapping() without _doc wrapper fails with v1 index templates HOT 10
- [Feature Request] extend `constant_keyword` field type usage scope HOT 1
- [Proposal] Tiering Status API Model and Design HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opensearch.