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
feat(crons): Limit clock ticks to the slowest partition (#58003)
Part of #55821
This function keeps a global clock driven by the monitor ingest topic to
trigger the monitor tasks once per minute.
This change updates this function to track the slowest partition within
the topic. This will help to avoid the clock being moved forward when a
single partition has a large number of check-ins read out of it (in a
backlog situation), causing check-ins to be marked missed since they
were not read before the clock ticked.
This change does NOT yet use the slowest partition timestamp as the
driver of the global clock, but simply logs the timestamp so we can
validate in production that it is still accurately moving forward.
In a future PR I will switch this function to use the slowest partition
timestamp as the `reference_ts` and add tests to validate this works
0 commit comments