Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes CRDB watch implementation accumulating past updates #2100

Closed
wants to merge 2 commits into from

Commits on Oct 24, 2024

  1. fixes CRDB watch implementation accumulating past updates

    when the timestamp to start emitting updates from
    is way in the past, CRDB will not emit checkpoints.
    
    As a consequence, every update in the w.r.t to the
    moment the changefeed was created will accumulate
    in memory and OOM the process with a large enough
    backlog.
    
    The proposed solution is to compute one checkpoint
    from the real-time stream of updates, and then use
    that as the high-watermark for the backlog of
    changes from the past. We need to emit all the updates
    before we can emit a checkpoint, so downstream callers
    would have to handle it accordingly.
    vroldanbet committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    c9036ce View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Configuration menu
    Copy the full SHA
    c124bea View commit details
    Browse the repository at this point in the history