mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-21 23:58:06 +00:00
fix(ingest/gc): infinite loop query entities (#12274)
This commit is contained in:
parent
b86bbf7262
commit
842c8f94a5
@ -258,7 +258,7 @@ class SoftDeletedEntitiesCleanup:
|
||||
)
|
||||
break
|
||||
scroll_across_entities = result.get("scrollAcrossEntities")
|
||||
if not scroll_across_entities:
|
||||
if not scroll_across_entities or not scroll_across_entities.get("count"):
|
||||
break
|
||||
scroll_id = scroll_across_entities.get("nextScrollId")
|
||||
self.report.num_queries_found += scroll_across_entities.get("count")
|
||||
|
Loading…
x
Reference in New Issue
Block a user