storage: Reintroduce backoff in Store.Send retry loop#13875
storage: Reintroduce backoff in Store.Send retry loop#13875bdarnell wants to merge 1 commit intocockroachdb:masterfrom
Conversation
The pushTxnQueue is only used for PushTxn operations that are sent by themselves in a batch, but the intentResolver may send multiple pushes at once. These batches would be retried in a tight loop.
|
Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful. pkg/storage/store.go, line 2636 at r1 (raw file):
Why is this necessary? You already called Comments from Reviewable |
|
I'm no longer sure about the premise of this change. @spencerkimball pointed out that Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion, all commit checks successful. pkg/storage/store.go, line 2636 at r1 (raw file): Previously, petermattis (Peter Mattis) wrote…
Oops. I was thinking for some reason that this needed to be at the end of the loop, but it doesn't. I'll remove this and the extra variable. Comments from Reviewable |
The pushTxnQueue is only used for PushTxn operations that are sent by
themselves in a batch, but the intentResolver may send multiple pushes
at once. These batches would be retried in a tight loop.
This change is