mirror of
https://github.com/clearml/clearml-server
synced 2025-02-25 05:35:30 +00:00
Fix missing routing value when downloading tasks events
This commit is contained in:
parent
99bf89a360
commit
7f00672010
@ -310,7 +310,9 @@ class EventBLL(object):
|
||||
}
|
||||
|
||||
with translate_errors_context(), TimingContext("es", "scroll_task_events"):
|
||||
es_res = self.es.search(index=es_index, body=es_req, scroll="1h")
|
||||
es_res = self.es.search(
|
||||
index=es_index, body=es_req, scroll="1h", routing=task_id
|
||||
)
|
||||
|
||||
events = [hit["_source"] for hit in es_res["hits"]["hits"]]
|
||||
next_scroll_id = es_res["_scroll_id"]
|
||||
|
Loading…
Reference in New Issue
Block a user