Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changefeedccl: Use separate budgets for sink and kvfeed.
Use separate memory budget accounting for memory used in kvfeed and the memory used by the sink for in-transit messages. We need to use separate budgets because the rate of incoming messages might be very different from the rate of egress messages. As a result, it's possible that we can re-fill a kvfeed buffer faster than we can drain it; and as a result, the sink will not be able to request additional memory for its inflight messages. The follow on PRs will change the sink to support pushback mode, so the above would not be necessary. Release Notes: None
- Loading branch information