milvus/internal
congqixia 83da08c388
enhance: Use map instead of slice to maintain channel info (#32273)
See also #32165

`ChannelManager.Match` is a frequent operation for datacoord. When the
collection number is large, iteration over all channels will cost lots
of CPU time and time consuming.

This PR change the data structure storing datanode-channel info to map
avoiding this iteration when checking channel existence.

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-04-16 15:57:19 +08:00
..
allocator enhance:change some logs (#29579) 2024-01-05 16:12:48 +08:00
core fix: remove sve flags (#32270) 2024-04-16 15:21:19 +08:00
datacoord enhance: Use map instead of slice to maintain channel info (#32273) 2024-04-16 15:57:19 +08:00
datanode fix: Use pk from binlog during import (#32118) 2024-04-16 14:51:20 +08:00
distributed enhance: declarative resource group api (#31930) 2024-04-15 08:13:19 +08:00
http enhance: Support to get the param value in the runtime (#29297) 2023-12-22 18:36:44 +08:00
indexnode fix: fix estimate float16 field data size wrong (#32193) 2024-04-12 16:29:26 +08:00
kv chore: remove repetitive words (#31153) 2024-03-20 10:17:07 +08:00
metastore enhance: replica manager enhancement (#31496) 2024-04-05 04:57:16 +08:00
mocks enhance: declarative resource group api (#31930) 2024-04-15 08:13:19 +08:00
mq fix: close rocksmq and natsmq when shutdown (#30706) 2024-02-26 11:38:55 +08:00
parser/planparserv2 enhance: Unify data type check APIs for go (#31887) 2024-04-07 14:27:22 +08:00
proto enhance: declarative resource group api (#31930) 2024-04-15 08:13:19 +08:00
proxy enhance: Make datanode exit and case `TestProxy` faster (#32218) 2024-04-16 10:49:20 +08:00
querycoordv2 fix: wrong node id in TestCheckNodesInReplica (#32268) 2024-04-15 17:38:17 +08:00
querynodev2 fix: delete may lost when enable lru cache, some field should be reset when ReleaseData (#32012) 2024-04-16 11:17:20 +08:00
registry Add querynode client wrapper and avoid grpc in standalone mode (#27781) 2023-10-19 11:10:07 +08:00
rootcoord fix: fix collectionInfo leak in datacoord (#32175) 2024-04-15 16:33:19 +08:00
storage feat: adding binlog streaming writer (#31537) 2024-04-11 10:33:20 +08:00
tso fix: add lazy load field to mark segment load type (#31591) 2024-03-28 11:23:10 +08:00
types feat: support rate limiter based on db and partition levels (#31070) 2024-04-12 16:01:19 +08:00
util enhance: declarative resource group api (#31930) 2024-04-15 08:13:19 +08:00