fix: resolve "no querier online" when ZO_NODE_ROLE_GROUP=interactive by replacing is_http_req with SearchEventType-based RoleGroup (#12601)

This commit is contained in:
Manan Shukla
2026-06-11 22:08:06 +08:00
committed by GitHub
parent 5d39efa572
commit ee1237a0b1
8 changed files with 15 additions and 21 deletions
-1
View File
@@ -242,7 +242,6 @@ impl Search for Searcher {
stream_type,
&request,
req.skip_max_query_range,
true,
true, // allow streamings aggs cache for grpc search partition
)
.await;
-1
View File
@@ -1565,7 +1565,6 @@ pub async fn search_partition(
stream_type,
&req,
false,
true,
true, // allow streamings aggs cache for http search partition handler
)
.instrument(http_span)
+1 -1
View File
@@ -1366,6 +1366,7 @@ async fn process_latest_traces_stream(
streaming_output: false,
histogram_interval: 0,
sampling_ratio: None,
search_type: Some(config::meta::search::SearchEventType::UI),
};
let partitions = match SearchService::search_partition(
@@ -1375,7 +1376,6 @@ async fn process_latest_traces_stream(
stream_type,
&partition_req,
false,
false,
use_cache,
)
.await