One of our sources has not been inserting `track` ...
# support
t
One of our sources has not been inserting
track
events into our destination (Redshift) for a few days now. As far as we can see, the events are landing at the rudder server, being processed by the transformer successfully but there is no evidence of those events in Redshift. The events max timestamp is 11/07 04:43 is when we last inserted an event. Other sources continue to function smoothly. There is this error around that time in the rudder-server logs:
Copy code
2022-11-07T04:42:52.777Z ERROR warehouse/warehouse.go:231 [WH] Failed in handle Upload jobs for worker: %!w(*fmt.wrapError=&{Upload Job failed: 1 errors occurred:
The actual error is not displayed. However this error has been in our logs for some time (weeks) and continues after this timestamp The last manifest file is dated 11/07 050838 in S3. The last log related to this source is
Copy code
2022-11-07T05:08:41.069Z	INFO	redshift/redshift.go:363	RS: Dedup records for table:****** using staging table: DELETE FROM *****."*****"
We are on rudder-server/transformer open source (approximate container date is 08/21/2022) Any pointers on how we would go about debugging this issue? is the "upload error" known - is it even related?
Update: we see csv files for this source as late as today in
<bucket>/rudder-warehouse-load-objects/
update:
Copy code
SELECT *
FROM public.wh_uploads where "namespace" ='***' and status = 'exporting_data_failed' order by created_at desc limit 100;
shows a ton of errors
We have 5 upload jobs in '`waiting` since Nov 7 05:08
update: set the
nextRetryTime
to 5 min in the future in the
metadata
column for each of the 5 upload rows. The backlog is gone.
Still missing the
tracks
table due to the
handle Upload
error
Skipping tracks table because it previously failed to load in an earlier job
update: the stall has re-occurred. The
waiting
job keeps getting updated, but the
start_staging_file_id
doesn't update
Hi @shy-kite-21035 thanks. this is a self-hosted Rudderstack server so the destination id doesn't make sense outside this context. The server is available - all other source ids were working. The current update is that the stall is no longer happening. But I'm curious about the logic of the
nextRetryTime
- why would the uploadJob not run at the
nextRetryTime
but instead add more staging files and replace it with another job?