Skip to content

Commit 8388bdf

Browse files
docs: fix stale sed line range in receive quorum docs
Update the sed range in docs/components/receive.md from '1068,1078p' to '1067,1078p' to match the current line numbers in handler.go after upstream changes shifted the writeQuorum function. Signed-off-by: Kc Balusu <kcbalusu@meta.com>
1 parent 9c1ec73 commit 8388bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/components/receive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ Please see the metric `thanos_receive_forward_delay_seconds` to see if you need
372372

373373
The following formula is used for calculating quorum:
374374

375-
```go mdox-exec="sed -n '1068,1078p' pkg/receive/handler.go"
375+
```go mdox-exec="sed -n '1067,1078p' pkg/receive/handler.go"
376376
// writeQuorum returns minimum number of replicas that has to confirm write success before claiming replication success.
377377
func (h *Handler) writeQuorum() int {
378378
// NOTE(GiedriusS): this is here because otherwise RF=2 doesn't make sense as all writes

0 commit comments

Comments
 (0)