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
kv/bulk: limit buffering when waiting for row boundaries in SSTBatcher
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.
0 commit comments