-
Notifications
You must be signed in to change notification settings - Fork 2k
feat(elasticsearch sink): fix partial retry logic #22431
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
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
287571c
Update to tower 0.5.
Serendo 7829287
Add a RetryPartial variant to RetryAction. which is a closure and imp…
Serendo 7561898
add a changelog fragment for elasticsearch sink retry partial
Serendo e02e6ad
changed some threshold of the tests. But I dont quite understand how …
Serendo 454d3a2
add newline to changelog end
Serendo 20f2829
Merge remote-tracking branch 'origin/master' into es-retry-tower0.5
pront 6edf77f
cargo.lock update
pront 3b241d1
Update changelog.d/elasticsearch_sink_skip_retrying_succeeded_documen…
pront a6badfc
Merge branch 'vectordotdev:master' into es-retry-tower0.5
Serendo 4a7ab30
remove unwrap for safety.
Serendo c3f317a
cleanup the code.
Serendo 0034f56
Merge branch 'master' into es-retry-tower0.5
Serendo 19cd25b
Put original events and es request builder into the ElasticsearchReq…
Serendo 6c98e8e
merge master changes
Serendo 0418ace
fix merge conflict
Serendo 09530fa
Merge branch 'master' into es-retry-tower0.5
pront ae3d727
Update src/sinks/util/retries.rs
Serendo c5dfe91
Update src/sinks/elasticsearch/retry.rs
Serendo fb5b597
Update src/sinks/elasticsearch/retry.rs
Serendo 3b1cac7
Merge remote-tracking branch 'origin/master' into es-retry-tower0.5
Serendo 522feb6
as pront suggested
Serendo b6edcf7
Merge branch 'master' into es-retry-tower0.5
Serendo e972da4
Remove downcast ref and trait usage from partial retry logic
thomasqueirozb 79e7dd3
Fix make check-clippy errors
thomasqueirozb abeb520
Revert "Fix make check-clippy errors"
thomasqueirozb 3bd9c0d
Revert "Remove downcast ref and trait usage from partial retry logic"
thomasqueirozb 5eb44e1
Merge remote-tracking branch 'origin/master' into es-retry-tower0.5
thomasqueirozb 1b64e9e
Revert cmake bump in Cargo.lock
thomasqueirozb ce35e6d
cargo fmt
thomasqueirozb 2b401f4
Address PR feedback
thomasqueirozb 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
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
changelog.d/elasticsearch_sink_skip_retrying_succeeded_documents.feature.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| The `request_retry_partial` behavior for the `elasticsearch` was changed. Now only the failed retriable requests in a bulk will be retried (instead of all requests in the bulk). | ||
|
|
||
| authors: Serendo |
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
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
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
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
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
Oops, something went wrong.
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.