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 fc8cc01 commit 6e4635aCopy full SHA for 6e4635a
pkg/ring/model.go
@@ -184,7 +184,7 @@ func (d *Desc) TokensFor(id string) (tokens, other []uint32) {
184
func (i *IngesterDesc) IsHealthy(op Operation, heartbeatTimeout time.Duration) bool {
185
if op == Write && i.State != ACTIVE {
186
return false
187
- } else if op == Read && i.State != ACTIVE && i.State != LEAVING {
+ } else if op == Read && i.State == JOINING {
188
189
}
190
return time.Now().Sub(time.Unix(i.Timestamp, 0)) <= heartbeatTimeout
0 commit comments