Closed thepsalmist closed 2 weeks ago
My (very) quick thoughts:
sh
allergies)?reindex
documents matching a certain query? In that case, the script should support a query
,
ii. Do we care about any impact running this script could have on the cluster?, Then the script should support throttling
or slicing
, etc.My (very) quick thoughts:
- Won't the script be better in Python (it could be just me and my
sh
allergies)?- How do we plan on using this script? i. Would we want to use it to
reindex
documents matching a certain query? In that case, the script should support aquery
, ii. Do we care about any impact running this script could have on the cluster?, Then the script should supportthrottling
orslicing
, etc.
On slicing, Defaults to 1, meaning the task isn't sliced into subtasks. I think its better to set this to auto
& let ES chose a reasonable number for most indices.
My (very) quick thoughts:
- Won't the script be better in Python (it could be just me and my
sh
allergies)?- How do we plan on using this script? i. Would we want to use it to
reindex
documents matching a certain query? In that case, the script should support aquery
, ii. Do we care about any impact running this script could have on the cluster?, Then the script should supportthrottling
orslicing
, etc.
On the support for throttling
, I'm not sure we wan't to define the requests_per_second
to set throttling on initial reindex
request without knowing the impact on the cluster.
Since we've settled on Kibana being part of the cluster, I believe we can set this using the Rethrottle API based on the monitoring stats
This PR addresses Issue #340