Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sstable: fix row writer mangling of cache block
Fix `RawRowWriter.addDataBlock` to make a copy of the block data when it's not compressed (similar to the columnar writer), because in that case the writing out can mangle the buffer. The sstable copier (during Download) uses `addDataBlock` with a buffer from the cache, which we are not allowed to modify. Informs cockroachdb/cockroach#138662
- Loading branch information