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
151550: kv/bulk: limit buffering when waiting for row boundaries in SSTBatcher r=dt a=dt
Previously, SSTBatcher would wait indefinitely for row boundaries before flushing when over the target file size, which could lead to unbounded memory usage for very large rows. This change adds a safeguard that only waits for row boundaries when the SST size is less than 2x the flush limit, forcing a flush of partial rows when substantially over the limit.
This prevents excessive memory usage while still maintaining the benefits of row-aligned file boundaries for most cases.
Release note: none.
Epic: none.
Co-authored-by: David Taylor <[email protected]>
0 commit comments