mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 16:10:43 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user