Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lunevalex committed Sep 27, 2022
1 parent dd79071 commit 10aad1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions pkg/kv/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,10 @@ func (db *DB) AdminSplit(
return getOneErr(db.Run(ctx, b), b)
}

// AdminLoadBasedSplit splits the range at the load based key as determined by the
// range stats.
// AdminLoadBasedSplit splits the range at the load based key as determined
// a 10s snapshot of observed query load.
//
// startKey is the start key of the range we want to target for the load split..
//
// expirationTime is the timestamp when the split expires and is eligible for
// automatic merging by the merge queue. To specify that a split should
Expand Down
2 changes: 1 addition & 1 deletion pkg/kv/kvserver/split/decider.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func Init(

// ForceSplitDecision forces the Decider to enable tracking of individual keys
// to split on, which will result in a split happening once enough
// data is collected. .
// data is collected.
func (d *Decider) ForceSplitDecision() {
d.mu.Lock()
defer d.mu.Unlock()
Expand Down

0 comments on commit 10aad1f

Please sign in to comment.