From 20753c41837b98cc8d2a6cf1693f2bf65ebee1b4 Mon Sep 17 00:00:00 2001 From: Sandeep Sukhani Date: Wed, 28 Oct 2020 13:38:59 +0530 Subject: [PATCH] fix panic in ingester when not running with boltdb shipper while queriers does --- pkg/ingester/ingester.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/ingester/ingester.go b/pkg/ingester/ingester.go index 3eb265be0aa82..f03b4fae93842 100644 --- a/pkg/ingester/ingester.go +++ b/pkg/ingester/ingester.go @@ -390,7 +390,7 @@ func (i *Ingester) GetChunkIDs(ctx context.Context, req *logproto.GetChunkIDsReq boltdbShipperMaxLookBack := i.boltdbShipperMaxLookBack() if boltdbShipperMaxLookBack == 0 { - return nil, nil + return &logproto.GetChunkIDsResponse{}, nil } reqStart := req.Start