Skip to content

Commit 7d1ee7f

Browse files
authored
Ignore frontend instance on connect error (#2569)
* Ignore frontend instance on connect error Signed-off-by: Annanay <annanayagarwal@gmail.com> * Update CHANGELOG Signed-off-by: Annanay <annanayagarwal@gmail.com>
1 parent 69d77a0 commit 7d1ee7f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
* [BUGFIX] Fixed `version`, `revision` and `branch` labels exported by the `cortex_build_info` metric. #2468
6060
* [BUGFIX] QueryFrontend: fixed a situation where HTTP error is ignored and an incorrect status code is set. #2483
6161
* [BUGFIX] QueryFrontend: fixed a situation where span context missed when downstream_url is used. #2539
62+
* [BUGFIX] Querier: Fixed a situation where querier would crash because of an unresponsive frontend instance. #2569
6263

6364
## 1.0.0 / 2020-04-02
6465

pkg/querier/frontend/worker.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ func (w *worker) watchDNSLoop(servCtx context.Context) error {
117117
client, err := w.connect(servCtx, update.Addr)
118118
if err != nil {
119119
level.Error(w.log).Log("msg", "error connecting", "addr", update.Addr, "err", err)
120+
continue
120121
}
121122

122123
w.managers[update.Addr] = newFrontendManager(servCtx, w.log, w.server, client, w.cfg.GRPCClientConfig)

0 commit comments

Comments
 (0)