Skip to content

[Backport 2.16] Change default batch size of bulk API to Integer.MAX_VALUE#14882

Merged
dblock merged 2 commits into2.16from
backport/backport-14725-to-2.16
Jul 23, 2024
Merged

[Backport 2.16] Change default batch size of bulk API to Integer.MAX_VALUE#14882
dblock merged 2 commits into2.16from
backport/backport-14725-to-2.16

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport 97f26cc from #14725.

By default the full _bulk payload will be passed to ingest processors as a
batch, with any sub batching logic to be implemented by each processor if
necessary.

Signed-off-by: Liyun Xiu <xiliyun@amazon.com>
(cherry picked from commit 97f26cc)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for a1cec79: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Signed-off-by: Andrew Ross <andrross@amazon.com>
@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for 28b2079: ABORTED

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for 28b2079: SUCCESS

@codecov
Copy link
Copy Markdown

codecov bot commented Jul 23, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 71.56%. Comparing base (82cb703) to head (28b2079).
Report is 2 commits behind head on 2.16.

Files Patch % Lines
...pensearch/rest/action/document/RestBulkAction.java 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               2.16   #14882      +/-   ##
============================================
+ Coverage     71.55%   71.56%   +0.01%     
- Complexity    62527    62575      +48     
============================================
  Files          5109     5109              
  Lines        293687   293653      -34     
  Branches      42791    42781      -10     
============================================
+ Hits         210135   210154      +19     
- Misses        65922    65930       +8     
+ Partials      17630    17569      -61     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dblock dblock merged commit 69bccb9 into 2.16 Jul 23, 2024
@andrross andrross deleted the backport/backport-14725-to-2.16 branch July 23, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants