forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
28009: release-2.0: storage/engine: limit the size of batch groups r=benesch a=petermattis Backport 1/1 commits from cockroachdb#27895. /cc @cockroachdb/release Queuing this up so we don't forget about it. --- Limit the size of batch groups to 1 MB. A larger batch can still be committed, but it won't be grouped with any other batches. Fixes cockroachdb#27865 Release note (bug fix): Limit the size of "batch groups" when committing a batch to RocksDB to avoid rare scenarios in which multi-gigabyte batch groups are created which can cause a server to run out of memory when replaying the RocksDB log at startup. Co-authored-by: Peter Mattis <[email protected]>
- Loading branch information
Showing
2 changed files
with
121 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters