We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7fcc82 commit c774c42Copy full SHA for c774c42
pkg/ring/batch.go
@@ -152,7 +152,8 @@ func (b *batchTracker) record(sampleTrackers []*itemTracker, err error) {
152
errCount := sampleTrackers[i].recordError(err)
153
// We should return an error if we reach the maxFailure (quorum) on a given error family OR
154
// we dont have any remaining ingesters to try
155
- // Ex: 2xx, 4xx, 5xx -> return 5xx
+ // Ex: 2xx, 4xx, 5xx -> return 4xx
156
+ // Ex: 2xx, 5xx, 4xx -> return 4xx
157
// Ex: 4xx, 4xx, _ -> return 4xx
158
// Ex: 5xx, _, 5xx -> return 5xx
159
if errCount > int32(sampleTrackers[i].maxFailures) || sampleTrackers[i].remaining.Dec() == 0 {
0 commit comments