Skip to content

Decrease batch size for backfill migration significantly

John Mason requested to merge jm-update-backfill-batchsize-traversal-ids into master

What does this MR do and why?

The update_by_query in production is running out of memory. By reducing the batch size significantly, we hope to solve this problem.

"error": {
    "type": "es_rejected_execution_exception",
    "reason": "rejected execution of coordinating operation [coordinating_and_primary_bytes=0, replica_bytes=0, all_bytes=0, coordinating_operation_bytes=<redacted>, max_coordinating_and_primary_bytes=<redacted>]"
  }

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by John Mason

Merge request reports