You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After running rudderstack for a while a “no staging files found” message gets logged with error log level pretty frequently. See below:
“{"level":"WARN","ts":"2024-08-07T05:26:49.148Z","logger":"runner.warehouse.router.CLICKHOUSE","caller":"router/upload.go:600","msg":"upload error","uploadJobID":30514,"namespace":"<…>","sourceID":"<…>","sourceType":"Node","destinationID":"CLICKHOUSE_DESTINATION","destinationType":"CLICKHOUSE","workspaceID":"<…>","useRudderStorage":false,"uploadStatus":"internal_processing_failed","error":"no staging files found","priority":100,"retried":false,"attempt":0,"loadFileType":"csv","errorMapping":"uncategorised","destinationCredsValid":null}”
{"level":"ERROR","ts":"2024-08-07T06:32:13.889Z","logger":"runner.warehouse.router.CLICKHOUSE","caller":"router/router.go:274","msg":"[WH] Failed in handle Upload jobs for worker: %!w(*errors.errorString=&{s:no staging files found})"}
The error is often combined with the following:
“{"level":"WARN","ts":"2024-08-07T05:26:49.148Z","logger":"runner.warehouse.router.CLICKHOUSE","caller":"router/upload.go:505","msg":"error setting upload status","uploadJobID":30514,"namespace”:”<…>”,”sourceID":"<…>","sourceType":"Node","destinationID":"CLICKHOUSE_DESTINATION","destinationType":"CLICKHOUSE","workspaceID":"<…>","useRudderStorage":false,"error":"upload not found"}”,
however that message is logged as warning and not as an error.
The Job IDs mentioned in the log message (30514) does indeed not exist in the Postgres database, but we do also observe no missing or failed events in any case.
Steps to reproduce the bug
Unclear: On a freshly installed rudderstack instance this does not occur.
The error suddenly occurs after running low impact load tests for a few hours.
@jannikbend Ideally it should not happen if it is a valid upload job. Although there is one scenario where we merge old waiting job with a new one and delete the old upload job. If for some reason because of race condition the old upload job got picked up to process it will not see any staging files because all of them will be marked for the new one.
Describe the bug
After running rudderstack for a while a “no staging files found” message gets logged with error log level pretty frequently. See below:
The error is often combined with the following:
however that message is logged as warning and not as an error.
The Job IDs mentioned in the log message (30514) does indeed not exist in the Postgres database, but we do also observe no missing or failed events in any case.
Steps to reproduce the bug
Unclear: On a freshly installed rudderstack instance this does not occur.
The error suddenly occurs after running low impact load tests for a few hours.
Expected behavior
No errors should occur
Screenshots
None
Any additional context
Rudder-Server: 1.29.0
Transformer: 1.49.0
Related Slack Post: https://rudderstack.slack.com/archives/C01E4PLB135/p1723477378948789
The text was updated successfully, but these errors were encountered: