Update by query (async / task) - No failure info - Handling Conflicts

I am running an update by query as a task (wait_for_completion=false), with 'conflicts=proceed'. I do expect version conflicts to happen sometimes and can see that info in get task response (/task/task-id). I plan to reprocess the conflicted records.

Problem: When version conflicts do happen, I don't see the conflicted record ids under 'failures' array for me to be able to reprocess. Any suggestions in this regard are greatly appreciated.

"response" : {
    "took" : 69055,
    "timed_out" : false,
    "total" : 286164,
    "updated" : 285885,
    "created" : 0,
    "deleted" : 0,
    "batches" : 287,
    "version_conflicts" : 279,
    "noops" : 0,
    "retries" : {
      "bulk" : 0,
      "search" : 0
    },
    "throttled" : "0s",
    "throttled_millis" : 0,
    "requests_per_second" : -1.0,
    "throttled_until" : "0s",
    "throttled_until_millis" : 0,
    "failures" : [ ]
  }

Note: Another observation is that if we run this with 'conflicts=abort', then we see failure info in the response as expected.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.