changefeedccl: fix flush_hist_nanos callback in cloud storage and webhook sinks #121248
Labels
A-cdc
Change Data Capture
backport-23.1.x
Flags PRs that need to be backported to 23.1
backport-23.2.x
Flags PRs that need to be backported to 23.2.
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
E-easy
Easy issue to tackle, requires little or no CockroachDB experience
E-quick-win
Likely to be a quick win for someone experienced.
P-1
Issues/test failures with a fix SLA of 1 month
T-cdc
The webhook v1 and cloud storage sinks both execute a callback to update the
changefeed.flush_hist_nanos
metric immediately, which is inaccurate. For webhook, the callback should be deferred. In the cloud storage sink, we already execute a callback in the async flush code path, so we could eliminate the bad callback and instead add one on the sync flush code path.Jira issue: CRDB-37153
Epic CRDB-37337
The text was updated successfully, but these errors were encountered: