Skip to content

Commit

Permalink
kvserver: update replica_send call flow docs
Browse files Browse the repository at this point in the history
This patch updates the function naming to reflect the current method
handler for batch requests containing at least one write request. to
`executeWriteBatch`, from `executeReadWriteBatch`.

Release note: None
  • Loading branch information
kvoli authored and RajivTS committed Mar 6, 2022
1 parent f7618e1 commit b510360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kv/kvserver/replica_send.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var optimisticEvalLimitedScans = settings.RegisterBoolSetting(
// │ (handles leases and txn conflicts) │
// │ │
// ▼ │
// executeReadWriteBatch
// executeWriteBatch
// │ │
// ▼ ▼
// evalAndPropose (turns the BatchRequest executeReadOnlyBatch
Expand Down

0 comments on commit b510360

Please sign in to comment.