elastic/elasticsearch

ETA for Reindex API

Open

#76.904 aberto em 25 de ago. de 2021

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)Java (76.700 stars) (25.882 forks)batch import
:Distributed/Reindex>enhancementTeam:Distributedhelp wanted

Description

The get task API (e.g. GET _tasks/lOHn4ATPST6LfKCW6m539w:517820) should include an estimated time of completion where applicable.

Specifically when using the reindex API, I had to write myself a basic tool some time ago to estimate when the task would be completed using the total, created, updated, start_time_in_millis, and running_time_in_nanos properties. (Although I believe in cases where the reindex operation omits some documents, this may not even be sufficient!)

It would be great if this functionality was built into this API.

Guia do colaborador