Skip to content

Commit

Permalink
kv: clean unnecessary interface function (pingcap#27051)
Browse files Browse the repository at this point in the history
  • Loading branch information
AilinKid authored Aug 11, 2021
1 parent 0b6b135 commit 9f06524
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kv/kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ var (
type RetrieverMutator interface {
Retriever
Mutator
// set allowed options of current operation in each TiKV disk usage level.
SetDiskFullOpt(level kvrpcpb.DiskFullOpt)
}

// MemBuffer is an in-memory kv collection, can be used to buffer write operations.
Expand Down Expand Up @@ -134,9 +132,6 @@ type MemBuffer interface {

// Len returns the number of entries in the DB.
Len() int

// set allowed options of current operation in each TiKV disk usage level.
SetDiskFullOpt(level kvrpcpb.DiskFullOpt)
}

// LockCtx contains information for LockKeys method.
Expand Down

0 comments on commit 9f06524

Please sign in to comment.