Skip to content

Commit

Permalink
Minor formatting fix on top of #12568
Browse files Browse the repository at this point in the history
  • Loading branch information
ptabor committed May 25, 2021
1 parent 261f8b1 commit d3b3228
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/mvcc/backend/tx_buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ func (txb *txBuffer) reset() {
// txWriteBuffer buffers writes of pending updates that have not yet committed.
type txWriteBuffer struct {
txBuffer
// Map from bucket name into information whether this bucket is edited
// sequentially (i.e. keys are growing monotonically).
seq map[string]bool
}


func (txw *txWriteBuffer) put(bucket, k, v []byte) {
txw.seq[string(bucket)] = false
txw.putSeq(bucket, k, v)
Expand Down

0 comments on commit d3b3228

Please sign in to comment.