-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
process/workflowRelated to a Workflow process.Related to a Workflow process.triage/bugSomething isn't workingSomething isn't working
Description
Describe the bug
If using /jobs?groups=process for example (maybe without groups applies as well?), it is possible that a large MongoDB document causes an error when processing an aggregation pipeline.
One example case of this happening is for a very large workflow containing many log lines with all its nested processes.
There could also be other encoded data in Job.request and Job.response that could impact.
Since these fields are not reported in job listing, it might be possible to do some pre-filtering steps to drop them?
Maybe caused by the following?
weaver/weaver/store/mongodb.py
Line 1111 in 9d5141f
| "jobs": {"$push": "$$ROOT"}, # matched jobs for corresponding grouping categories |
How to Reproduce
- Create a Job with >1000 lines of logs (maybe more?)
- Call
GET /jobs?groups=processto generate an aggregation pipeline for job listing
Expected behavior
no error, listing happens normally
Metadata
Metadata
Assignees
Labels
process/workflowRelated to a Workflow process.Related to a Workflow process.triage/bugSomething isn't workingSomething isn't working