milvus/internal/proxy
Patrick Weizhi Xu 52ae47c850
enhance: gather materialized view search info once per request (#31996)
issue: #29892 

This PR:
1. Move the process of gathering materialized search info to when the
search plan is created, before it goes to each segment, to avoid
repeated work and access the plan node under multi-threaded
circumstances.
2. Enforce the supported MV type to `VARCHAR`
3. Add integration test

Signed-off-by: Patrick Weizhi Xu <weizhi.xu@zilliz.com>
2024-04-11 15:21:19 +08:00
..
accesslog fix: minio ssl compatible issue (#31607) 2024-03-27 14:41:20 +08:00
connection enhance: purge client infos periodically (#31037) 2024-03-06 12:50:59 +08:00
authentication_interceptor_test.go feat: add more operation detail info for better allocation (#30438) 2024-03-28 06:33:11 +08:00
authentication_interceptor.go Hide the password info when failing to authorize (#28428) 2023-11-15 14:40:26 +08:00
channels_mgr_test.go enhance: make sure stream closed (#29456) 2023-12-26 19:56:47 +08:00
channels_mgr.go feat: add more operation detail info for better allocation (#30438) 2024-03-28 06:33:11 +08:00
channels_time_ticker_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
channels_time_ticker.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
condition_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
condition.go Propagate task ctx done err for proxy (#27892) 2023-10-26 19:06:13 +08:00
count_reducer_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
count_reducer.go feat: add more operation detail info for better allocation (#30438) 2024-03-28 06:33:11 +08:00
data_coord_mock_test.go enhance: Remove import v1 (#31403) 2024-03-22 15:29:09 +08:00
database_interceptor_test.go fix: add more requests to the database interceptor (#30452) 2024-02-02 16:49:06 +08:00
database_interceptor.go fix: add more requests to the database interceptor (#30452) 2024-02-02 16:49:06 +08:00
default_limit_reducer.go Improve the error message for getting all indexes of collection (#27389) 2023-10-08 21:23:32 +08:00
dummyreq_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
dummyreq.go [skip ci]Update license for proxy dummy (#11605) 2021-11-10 23:43:27 +08:00
hook_interceptor_test.go feat: add more operation detail info for better allocation (#30438) 2024-03-28 06:33:11 +08:00
hook_interceptor.go enhance: Add db label for some usual metrics (#30956) 2024-04-02 14:27:13 +08:00
impl_test.go feat: Replacing the current import API with the v2 implementation (#31046) 2024-03-10 12:23:02 +08:00
impl.go enhance: add the related data size for the read apis (#31816) 2024-04-10 15:07:17 +08:00
interface_def.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
lb_balancer.go add metrics for replica selection (#25037) 2023-06-27 09:52:44 +08:00
lb_policy_test.go fix: Restore the MVCC functionality. (#29749) 2024-01-09 11:38:48 +08:00
lb_policy.go fix: Restore the MVCC functionality. (#29749) 2024-01-09 11:38:48 +08:00
look_aside_balancer_test.go fix: Unstable ut TestGetClientFailed (#31296) 2024-03-15 17:41:04 +08:00
look_aside_balancer.go fix: Set node unreachable when get shard client failed (#31277) 2024-03-15 10:23:03 +08:00
management_test.go enhance: Add restful api for devops to execute rolling upgrade (#29998) 2024-03-27 16:15:19 +08:00
management.go enhance: Add restful api for devops to execute rolling upgrade (#29998) 2024-03-27 16:15:19 +08:00
meta_cache_adapter_test.go enhance: Avoid initializing casbin enforcer for each request (#29117) 2023-12-12 10:36:43 +08:00
meta_cache_adapter.go enhance: Avoid initializing casbin enforcer for each request (#29117) 2023-12-12 10:36:43 +08:00
meta_cache_test.go feat: add more operation detail info for better allocation (#30438) 2024-03-28 06:33:11 +08:00
meta_cache.go feat: add more operation detail info for better allocation (#30438) 2024-03-28 06:33:11 +08:00
metrics_info_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
metrics_info.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
mock_cache.go feat: add more operation detail info for better allocation (#30438) 2024-03-28 06:33:11 +08:00
mock_channels_manager.go support complex delete expression (#25752) 2023-09-12 10:19:17 +08:00
mock_lb_balancer.go Organize all mockery generation commands in Makefile (#26826) 2023-09-04 21:19:48 +08:00
mock_lb_policy.go Organize all mockery generation commands in Makefile (#26826) 2023-09-04 21:19:48 +08:00
mock_msgstream_test.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
mock_shardclient_manager.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
mock_test.go enhance: check fp16/bf16 nan or inf value (#31840) 2024-04-09 14:19:27 +08:00
mock_tso_test.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
msg_pack_test.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
msg_pack.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
multi_rate_limiter_test.go enhance: support clean paramtable config event in test (#30534) 2024-02-20 14:16:51 +08:00
multi_rate_limiter.go feat: add collection level flush rate control (#29567) 2024-02-18 15:32:50 +08:00
OWNERS [skip ci]Update OWNERS files (#11898) 2021-11-16 15:41:11 +08:00
privilege_interceptor_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
privilege_interceptor.go enhance: use the rate log in the privilege interceptor (#32037) 2024-04-09 16:19:17 +08:00
proxy_rpc_test.go Refine Proxy errors (#27499) 2023-10-09 10:09:33 +08:00
proxy_test.go enhance: support to invalid the database meta cache (#32078) 2024-04-10 06:45:18 +08:00
proxy.go enhance: Remove the storage info report (#31772) 2024-04-01 20:50:59 -07:00
rate_limit_interceptor_test.go feat: add collection level flush rate control (#29567) 2024-02-18 15:32:50 +08:00
rate_limit_interceptor.go feat: add collection level flush rate control (#29567) 2024-02-18 15:32:50 +08:00
reducer_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
reducer.go Fill output fields for count request (#27967) 2023-10-30 10:00:12 +08:00
repack_func_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
repack_func.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
replicate_stream_manager_test.go fix: Fix the unstable unit test TestReplicateManager (#28718) 2023-11-24 17:50:30 +08:00
replicate_stream_manager.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
reScorer_test.go enhance:Refactor hybrid search (#32020) 2024-04-09 14:21:18 +08:00
reScorer.go enhance:Refactor hybrid search (#32020) 2024-04-09 14:21:18 +08:00
rootcoord_mock_test.go enhance: Remove import v1 (#31403) 2024-03-22 15:29:09 +08:00
roundrobin_balancer_test.go add metrics for replica selection (#25037) 2023-06-27 09:52:44 +08:00
roundrobin_balancer.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
rpc_msg.go Add slow log for read (#23272) 2023-04-14 15:30:29 +08:00
search_reduce_util.go enhance:Refactor hybrid search (#32020) 2024-04-09 14:21:18 +08:00
search_util.go enhance:Refactor hybrid search (#32020) 2024-04-09 14:21:18 +08:00
segment_test.go fix: wrong context passing into NewClient, error handling lost in session_util (#30817) 2024-02-28 10:40:09 +08:00
segment.go enhance:change some logs (#29579) 2024-01-05 16:12:48 +08:00
shard_client_test.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
shard_client.go Add querynode client wrapper and avoid grpc in standalone mode (#27781) 2023-10-19 11:10:07 +08:00
task_alias_test.go feat: Implement DescribeAlias and ListAliases interfaces (#29641) 2024-01-11 19:12:51 +08:00
task_alias.go enhance: Skip timestamp allocation when search/query consistency level is eventually (#29773) 2024-02-21 09:52:59 +08:00
task_database_test.go enhance: the return result of list db api (#31544) 2024-03-28 07:13:10 +08:00
task_database.go enhance: the return result of list db api (#31544) 2024-03-28 07:13:10 +08:00
task_delete_test.go enhance: Avoid create schema helper for each read task (#30981) 2024-03-04 19:39:00 +08:00
task_delete.go feat: add more operation detail info for better allocation (#30438) 2024-03-28 06:33:11 +08:00
task_index_test.go enhance: Support auto index for scalar index (#31255) 2024-03-21 10:37:08 +08:00
task_index.go enhance: Unify data type check APIs for go (#31887) 2024-04-07 14:27:22 +08:00
task_insert_test.go Add float16 approve for multi-type part (#28427) 2024-01-11 15:48:51 +08:00
task_insert.go enhance: Skip timestamp allocation when search/query consistency level is eventually (#29773) 2024-02-21 09:52:59 +08:00
task_policies_test.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
task_policies.go Decoupling client and server API in types interface (#27186) 2023-09-26 09:57:25 +08:00
task_query_test.go fix: reduce didn't handle offset without limit and reduceStopForBest correctly (#32089) 2024-04-10 16:01:18 +08:00
task_query.go fix: reduce didn't handle offset without limit and reduceStopForBest correctly (#32089) 2024-04-10 16:01:18 +08:00
task_scheduler_test.go enhance: Skip timestamp allocation when search/query consistency level is eventually (#29773) 2024-02-21 09:52:59 +08:00
task_scheduler.go feat: add more operation detail info for better allocation (#30438) 2024-03-28 06:33:11 +08:00
task_search_test.go enhance: gather materialized view search info once per request (#31996) 2024-04-11 15:21:19 +08:00
task_search.go enhance: gather materialized view search info once per request (#31996) 2024-04-11 15:21:19 +08:00
task_statistic_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
task_statistic.go fix: Hybrid search doesn't expire shard leader cache (#31380) 2024-03-19 18:03:07 +08:00
task_test.go enhance: Unify data type check APIs for go (#31887) 2024-04-07 14:27:22 +08:00
task_upsert_test.go enhance: cache collection schema attributes to reduce proxy cpu (#29668) 2024-01-04 17:28:46 +08:00
task_upsert.go enhance: Add AllPartitionsID const to replace InvalidPartitionID (#31438) 2024-03-20 19:01:05 +08:00
task.go enhance: Unify data type check APIs for go (#31887) 2024-04-07 14:27:22 +08:00
timestamp_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
timestamp.go enhance:Remove msgbase unnecessary assignments (#28511) 2023-11-24 15:02:39 +08:00
trace_log_interceptor_test.go enhance: Support to trace restful request and request error (#28685) 2023-11-27 20:14:26 +08:00
trace_log_interceptor.go enhance: refine access log to support format access log by yaml and print name info. (#28319) 2023-11-28 15:32:31 +08:00
type_def.go [skip e2e] Add comment for pChan (#14098) 2021-12-23 21:44:12 +08:00
util_test.go fix: binary vector should not limit dimension to 32768 (#30676) 2024-03-05 14:21:00 +08:00
util.go feat: [Sparse Float Vector] added some integration tests (#31062) 2024-04-10 19:57:18 +08:00
validate_util_test.go enhance: check fp16/bf16 nan or inf value (#31840) 2024-04-09 14:19:27 +08:00
validate_util.go enhance: check fp16/bf16 nan or inf value (#31840) 2024-04-09 14:19:27 +08:00