-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Semantic Text Chunking Indexing Pressure #125517
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
Merged
Mikep86
merged 54 commits into
elastic:main
from
Mikep86:semantic-text_oom-circuit-breaker
Apr 14, 2025
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
bc62301
Added circuit breaker
Mikep86 0a58daa
Pass circuit breaker to action filter
Mikep86 a77516f
Estimate memory usage before performing inference
Mikep86 fee2c90
Merge branch 'main' into semantic-text_oom-circuit-breaker
Mikep86 83395f4
Reset circuit breaker on completion of request handling
Mikep86 f84ff66
Calculate actual memory usage
Mikep86 8698ecd
Spotless
Mikep86 c7b1af1
Added TODOs
Mikep86 6458bb3
Added more comments
Mikep86 6b7db55
Merge branch 'main' into semantic-text_oom-circuit-breaker
Mikep86 f4a4689
Track memory usage of requests that don't perform inference
Mikep86 c74ca3c
Fix test failures
Mikep86 f5e8a94
Add circuit breaker unit test
Mikep86 1d5e5bd
Circuit breaker test development
Mikep86 d93050f
Fix memory usage tracking in estimateMemoryUsage
Mikep86 2480955
Make circuit breaker limit setting dynamically updatable
Mikep86 5d76384
Updated estimateMemoryUsage to throw InferenceException
Mikep86 4bcff47
Updated InferenceException to retain the original message when it is …
Mikep86 080ae60
Added circuit breaker trips on estimated inference bytes unit test
Mikep86 30e0a08
[CI] Auto commit changes from spotless
elasticsearchmachine 8939687
Increment byte counters after updating breaker
Mikep86 6071cb0
Check that circuit breaker usage is 0
Mikep86 0507d94
Add indexing pressure to plugin services
Mikep86 a643877
Merge branch 'main' into semantic-text_oom-circuit-breaker
Mikep86 a6200d5
Merge branch 'main' into semantic-text_oom-circuit-breaker
Mikep86 c211ff6
Pass indexing pressure to action filter
Mikep86 a106f87
Pass coordinating object to AsyncBulkShardInferenceAction
Mikep86 4a2976c
Use coordinating indexing pressure in ShardBulkInferenceActionFilter
Mikep86 56a5f97
Update circuit breaker test
Mikep86 111bb1f
Update circuit breaker trips on estimated inference bytes test
Mikep86 02d70a0
Remove inference bytes circuit breaker
Mikep86 bf9d118
Adjust coordinating indexing pressure lifetime
Mikep86 456fc59
Merge branch 'main' into semantic-text_oom-circuit-breaker
elasticmachine fee592b
Account for indexing pressure from source in batches
Mikep86 437ca6b
Account for indexing pressure from empty chunk inference updates
Mikep86 96f4037
Add indexing pressure from source modifications
Mikep86 fcf7387
Fix testIndexingPressure
Mikep86 e5f64ff
Fix testIndexingPressureTripsOnEstimatedInferenceBytes
Mikep86 b183b20
Merge branch 'main' into semantic-text_oom-circuit-breaker
Mikep86 3349168
Cleanup
Mikep86 8a28093
Fix compilation errors
Mikep86 bf420c8
Added unit test
Mikep86 2e479a9
Revert changes to InferenceException
Mikep86 2330e3e
Resolve TODO
Mikep86 0bb32cc
Merge branch 'main' into semantic-text_oom-circuit-breaker
elasticmachine 0065a87
Merge branch 'main' into semantic-text_oom-circuit-breaker
elasticmachine 0ff48cf
Resolve TODOs
Mikep86 ecb8e02
Pass indexing pressure in constructor
Mikep86 6a3a4fd
Merge branch 'main' into semantic-text_oom-circuit-breaker
elasticmachine f4aef73
Added partial failure test
Mikep86 118c27f
Merge branch 'main' into semantic-text_oom-circuit-breaker
elasticmachine 8cc4402
Update docs/changelog/125517.yaml
Mikep86 0a138f2
Fix changelog
Mikep86 e8742d2
Merge branch 'main' into semantic-text_oom-circuit-breaker
Mikep86 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Circuit breaker test development
- Loading branch information
commit 1d5e5bd2193c9bb184891b204cd33d9b0574f76d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.