Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db: update comment on L0StopWritesThreshold #1647

Merged
merged 1 commit into from
Apr 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -530,10 +530,8 @@ type Options struct {
// The amount of L0 read-amplification necessary to trigger an L0 compaction.
L0CompactionThreshold int

// Hard limit on L0 read-amplification. Writes are stopped when this
// threshold is reached. If Experimental.L0SublevelCompactions is enabled
// this threshold is measured against the number of L0 sublevels. Otherwise
// it is measured against the number of files in L0.
// Hard limit on L0 read-amplification, computed as the number of L0
// sublevels. Writes are stopped when this threshold is reached.
L0StopWritesThreshold int

// The maximum number of bytes for LBase. The base level is the level which
Expand Down