Details
-
Bug
-
Status: Open
-
Medium
-
Resolution: Unresolved
-
None
-
None
Description
Overview
During the copy of attachments from Atlassian s3 to Our.
If the length of the s3 manifest file is huge we can observe an error in the job.
Although the job continues to run, the exception actually causes it to "terminate". At least on paper.
The following stack trace can be observed
RangeError: Error in job "xray.processor.server-to-cloud-preload" with id 67aa886faad3c9be1959c115, tenant 9dab799a-374b-3a95-8ae0-04750c2199c0, transfer id 05f4221e-b9a8-4941-b2ea-720f5558f0ac: - Too many elements passed to Promise.all at Function.all (<anonymous>) at Object.doWork (/usr/src/app/build/common/util/promises.js:91:39) at /usr/src/app/build/server/jobs/server-to-cloud-preload-processor.js:118:83 at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:97:5)
Which is followed by:
Finished job "xray.processor.server-to-cloud-preload" with id
But then it does proceeds to fetch the files.