milvus/internal/metastore/mocks
congqixia 8e5865f630
enhance: Save collection targets by batches (#31616)
See also #28491 #31240

When colleciton number is large, querycoord saves collection target one
by one, which is slow and may block querycoord exits.

In local run, 500 collections scenario may lead to about 40 seconds
saving collection targets.

This PR changes the `SaveCollectionTarget` interface into batch one and
organizes the collection in 16 per bundle batches to accelerate this
procedure.

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2024-03-27 00:09:08 +08:00
..
mock_datacoord_catalog.go fix: lazy load index data in cache (#31094) 2024-03-25 15:43:07 +08:00
mock_querycoord_catalog.go enhance: Save collection targets by batches (#31616) 2024-03-27 00:09:08 +08:00
mock_rootcoord_catalog.go enhance: Enable properites in database meta (#31394) 2024-03-19 19:21:06 +08:00