Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvserver: zero out slice before reuse
Standard Go error - we were trying to avoid allocations by recycling a slice but weren't zeroing it out before. The occasional long slice that would reference a ton of memory would then effectively keep that large amount of memory alive forever. Touches cockroachdb#71050. Release note: None
- Loading branch information