[Backport 2.x] Change default batch size of bulk API to Integer.MAX_VALUE#14881
[Backport 2.x] Change default batch size of bulk API to Integer.MAX_VALUE#14881gaobinlong merged 2 commits into2.xfrom
Conversation
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>
|
❌ Gradle check result for 50d32ab: 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? |
|
❌ Gradle check result for 50d32ab: 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? |
|
|
Doesn't look like a fluke, @chishui |
|
@dblock |
Signed-off-by: Gao Binlong <gbinlong@amazon.com>
|
❌ Gradle check result for 0a97145: 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? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.x #14881 +/- ##
============================================
- Coverage 71.59% 71.56% -0.04%
+ Complexity 62621 62537 -84
============================================
Files 5110 5110
Lines 293685 293651 -34
Branches 42801 42791 -10
============================================
- Hits 210265 210151 -114
- Misses 65801 65851 +50
- Partials 17619 17649 +30 ☔ View full report in Codecov by Sentry. |
…ALUE (opensearch-project#14881) * Deprecate batch_size parameter on bulk API (opensearch-project#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> * Fix test failure Signed-off-by: Gao Binlong <gbinlong@amazon.com> --------- Signed-off-by: Liyun Xiu <xiliyun@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Gao Binlong <gbinlong@amazon.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Gao Binlong <gbinlong@amazon.com> Signed-off-by: kkewwei <kkewwei@163.com>
Backport 97f26cc from #14725.