Open miretskiy opened 2 years ago
cc @cockroachdb/cdc
Query ran: select job_id, status,((high_water_timestamp/1000000000)::int::timestamp)-now() as "changefeed latency",created, left(description,60),high_water_timestamp from crdb_internal.jobs where job_type = 'CHANGEFEED' and status in ('running', 'paused','pause-requested') order by created desc;
@gh-casper we should explicitly handle the runover gc error to make sure we reflect the failed job in the jobs table
We should also backport this
Observed in 21.2; may impact master.
Running changefeed with
OptOnErrorPause
together withOptProtectDataFromGCOnPause
, if replica GC expires, we attempt to pause, which returns an error (replica GC threshold exceeded). This results inSHOW JOBS
indicating that the changefeed is running.There are at least 2 issues here:
Note: https://github.com/cockroachdb/cockroach/pull/76605 modified PTS handling; master (and 22.1) may or may not be effected; but this needs to be verified and invesgated.
Jira issue: CRDB-13644