Minor formatting fix on top of https://github.com/etcd-io/etcd/pull/12568
diff --git a/server/mvcc/backend/tx_buffer.go b/server/mvcc/backend/tx_buffer.go
index db76621..8f95e58 100644
--- a/server/mvcc/backend/tx_buffer.go
+++ b/server/mvcc/backend/tx_buffer.go
@@ -37,10 +37,11 @@
// 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)