Skip to content

Commit 9f4fa5b

Browse files
jojohappybwplotka
authored andcommitted
Fixed lag between file-sd and dns-sd (#933)
Signed-off-by: jojohappy <[email protected]>
1 parent 44272a6 commit 9f4fa5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/thanos/query.go

+1
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ func runQuery(
355355
}
356356
fileSDCache.Update(update)
357357
stores.Update(ctxUpdate)
358+
dnsProvider.Resolve(ctxUpdate, append(fileSDCache.Addresses(), storeAddrs...))
358359
case <-ctxUpdate.Done():
359360
return nil
360361
}

0 commit comments

Comments
 (0)