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 4c86707 commit 727a5b3Copy full SHA for 727a5b3
storeapi/grpc_search.go
@@ -83,7 +83,7 @@ func (g *GrpcV1) doSearch(
83
84
// in store mode hot we return error in case request wants data, that we've already rotated
85
if g.config.StoreMode == StoreModeHot {
86
- if g.fracManager.Flags().IsCapacityExceeded() && g.earlierThanOldestFrac(uint64(from)) {
+ if g.fracManager.Flags().IsCapacityExceeded() && g.earlierThanOldestFrac(uint64(req.From)) {
87
metric.RejectedRequests.WithLabelValues("search", "old_data").Inc()
88
return &storeapi.SearchResponse{Code: storeapi.SearchErrorCode_INGESTOR_QUERY_WANTS_OLD_DATA}, nil
89
}
0 commit comments