Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Insert into FLOAT16_VECTOR field with DISKANN index fails with <ParamError: (code=1, message=Collection field dim is 1024, but entities field dim is 512)> #31724

Open
1 task done
wilsonzlin opened this issue Mar 29, 2024 · 9 comments
Assignees
Labels
kind/bug Issues or changes related a bug stale indicates no udpates for 30 days triage/accepted Indicates an issue or PR is ready to be actively worked on.
Milestone

Comments

@wilsonzlin
Copy link

wilsonzlin commented Mar 29, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Environment

  • Milvus version: milvusdb/milvus:v2.4.0-rc.1
  • Deployment mode(standalone or cluster): standalone
  • MQ type(rocksmq, pulsar or kafka): rocksmq
  • SDK version(e.g. pymilvus v2.0.0rc2): pymilvus==2.4.0
  • OS(Ubuntu or CentOS): Ubuntu
  • CPU/Memory: AMD Ryzen 9 5950X 16-Core Processor
  • GPU: N/A

Current Behavior

When I create a simple collection with a vec FLOAT16_VECTOR field, and a DISKANN index for that field, I get an insert error that seems to imply the insert vector's dimensions is incorrect, when it is correct. The reported dimension is exactly half, which I suspect is related to the FLOAT16_VECTOR field type. If I use FLOAT_VECTOR as the type, it works fine.

Expected Behavior

It should insert without failing.

Steps To Reproduce

Set up a standard Milvus Docker Compose stack, then run the following script:

from pymilvus import MilvusClient, DataType
import numpy as np

client = MilvusClient(
    uri="http://localhost:19530"
)

schema = MilvusClient.create_schema(
    auto_id=False,
    enable_dynamic_field=False,
)
schema.add_field(field_name="id", datatype=DataType.INT64, is_primary=True)
schema.add_field(field_name="vec", datatype=DataType.FLOAT16_VECTOR, dim=1024)

index_params = client.prepare_index_params()
index_params.add_index(field_name="id")
index_params.add_index(field_name="vec", index_type="DISKANN", metric_type="IP")

client.create_collection(
    collection_name="main",
    schema=schema,
    index_params=index_params
)

data = [
  {"id": 0, "vec": np.random.standard_normal(1024).astype(np.float16)}
]
res = client.insert(
  collection_name="main",
  data=data
)

Milvus Log

standalone-1  | [2024/03/29 06:41:08.906 +00:00] [INFO] [proxy/impl.go:5365] ["connect received"] [traceID=f925c19e33c01ab8729265454722bbbc] [sdk_type=Python] [sdk_version=2.4.0] [local_time="2024-03-29 06:41:08.905942"] [user=] [host=REDACTED] [db=default]
standalone-1  | [2024/03/29 06:41:08.907 +00:00] [INFO] [rootcoord/root_coord.go:945] ["received request to list databases"] [traceID=f925c19e33c01ab8729265454722bbbc] [msgID=0]
standalone-1  | [2024/03/29 06:41:08.907 +00:00] [INFO] [rootcoord/root_coord.go:971] ["done to list databases"] [traceID=f925c19e33c01ab8729265454722bbbc] [msgID=0] ["num of databases"=1]
standalone-1  | [2024/03/29 06:41:08.907 +00:00] [INFO] [connection/manager.go:106] ["client register"] [traceID=f925c19e33c01ab8729265454722bbbc] [sdk_type=Python] [sdk_version=2.4.0] [local_time="2024-03-29 06:41:08.905942"] [user=] [host=REDACTED] [identifier=448710434854010884] [last_active_time=2024/03/29 06:41:08.907 +00:00]
standalone-1  | [2024/03/29 06:41:08.908 +00:00] [WARN] [rootcoord/root_coord.go:1192] ["failed to describe collection"] [traceID=91a3a1e8608e9289374aec74d824c29f] [collectionName=main] [dbName=default] [id=0] [ts=18446744073709551615] [allowUnavailable=false] [error="collection not found[database=default][collection=main]"]
standalone-1  | [2024/03/29 06:41:08.909 +00:00] [INFO] [rootcoord/root_coord.go:984] ["received request to create collection"] [traceID=a58ea6ca05f57554e6cd4f8d1b5b057a] [dbName=default] [name=main] [role=rootcoord]
standalone-1  | [2024/03/29 06:41:08.909 +00:00] [INFO] [rootcoord/create_collection_task.go:307] ["assign partitions when create collection"] [collectionName=main] [partitionNames="[_default]"]
standalone-1  | [2024/03/29 06:41:08.909 +00:00] [INFO] [rootcoord/timeticksync.go:379] ["add dml channels"] [channels="[by-dev-rootcoord-dml_0]"]
standalone-1  | [2024/03/29 06:41:08.910 +00:00] [INFO] [proxy/impl.go:115] ["received request to invalidate collection meta cache"] [traceID=a58ea6ca05f57554e6cd4f8d1b5b057a] [module=Proxy] [role=proxy] [db=default] [collectionName=main] [collectionID=0] [msgType=DropCollection] [partitionName=]
standalone-1  | [2024/03/29 06:41:08.910 +00:00] [INFO] [proxy/meta_cache.go:885] ["clearing shard cache for collection"] [collectionName=main]
standalone-1  | [2024/03/29 06:41:08.910 +00:00] [INFO] [proxy/impl.go:131] ["complete to invalidate collection meta cache with collection name"] [traceID=a58ea6ca05f57554e6cd4f8d1b5b057a] [module=Proxy] [role=proxy] [db=default] [collectionName=main] [collectionID=0] [msgType=DropCollection] [partitionName=] [collectionName=main]
standalone-1  | [2024/03/29 06:41:08.910 +00:00] [INFO] [proxy/channels_mgr.go:275] ["dml stream removed"] [collection_id=0]
standalone-1  | [2024/03/29 06:41:08.910 +00:00] [INFO] [proxy/impl.go:164] ["complete to invalidate collection meta cache"] [traceID=a58ea6ca05f57554e6cd4f8d1b5b057a] [module=Proxy] [role=proxy] [db=default] [collectionName=main] [collectionID=0] [msgType=DropCollection] [partitionName=]
standalone-1  | [2024/03/29 06:41:08.913 +00:00] [INFO] [rootcoord/meta_table.go:380] ["add collection to meta table"] [traceID=a58ea6ca05f57554e6cd4f8d1b5b057a] [dbID=1] [collection=main] [id=448710428506194045] [ts=448710434854010887]
standalone-1  | [2024/03/29 06:41:08.913 +00:00] [INFO] [rootcoord/broker.go:165] ["watching channels"] [traceID=a58ea6ca05f57554e6cd4f8d1b5b057a] [ts=448710434854010887] [collection=448710428506194045] [vChannels="[by-dev-rootcoord-dml_0_448710428506194045v0]"]
standalone-1  | [2024/03/29 06:41:08.913 +00:00] [INFO] [datacoord/services.go:1261] ["receive watch channels request"] [traceID=a58ea6ca05f57554e6cd4f8d1b5b057a] [collectionID=448710428506194045] [channels="[by-dev-rootcoord-dml_0_448710428506194045v0]"]
standalone-1  | [2024/03/29 06:41:08.913 +00:00] [INFO] [datacoord/channel_manager.go:454] ["try to update channel watch info with ToWatch state"] [traceID=a58ea6ca05f57554e6cd4f8d1b5b057a] [channel="Name: by-dev-rootcoord-dml_0_448710428506194045v0, CollectionID: 448710428506194045, StartPositions: [key:\"by-dev-rootcoord-dml_0\" data:\"\\001\\000\\034\\342\\301#:\\006\" ]"] [updates="[\"{type=Add,nodeID=1,channels=\\\"[by-dev-rootcoord-dml_0_448710428506194045v0]\\\"}\"]"]
standalone-1  | [2024/03/29 06:41:08.913 +00:00] [INFO] [datacoord/handler.go:63] [GetDataVChanPositions] [collectionID=448710428506194045] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [numOfSegments=0]
standalone-1  | [2024/03/29 06:41:08.913 +00:00] [INFO] [datacoord/handler.go:286] ["segment position not found, setting channel seek position to channel start position"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [posTs=448710434854010887] [posTime=2024/03/29 06:41:08.895 +00:00]
standalone-1  | [2024/03/29 06:41:08.913 +00:00] [INFO] [datacoord/handler.go:320] ["channel seek position set from collection start position"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [posTs=448710434854010887] [posTime=2024/03/29 06:41:08.895 +00:00]
standalone-1  | [2024/03/29 06:41:08.913 +00:00] [INFO] [datacoord/channel_checker.go:113] ["timer started"] ["watch state"=ToWatch] [nodeID=1] [channelName=by-dev-rootcoord-dml_0_448710428506194045v0] ["check interval"=5m0s]
standalone-1  | [2024/03/29 06:41:08.914 +00:00] [INFO] [datacoord/channel_manager.go:764] ["tickle update, timer delay"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [progress=0]
standalone-1  | [2024/03/29 06:41:08.914 +00:00] [INFO] [datanode/event_manager.go:127] ["DataNode is handling watchInfo PUT event"] [key=by-dev/meta/channelwatch/1/by-dev-rootcoord-dml_0_448710428506194045v0] ["watch state"=ToWatch]
standalone-1  | [2024/03/29 06:41:08.914 +00:00] [INFO] [datacoord/kv_catalog.go:459] ["NON remove flag tombstone added"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:08.914 +00:00] [INFO] [rootcoord/broker.go:182] ["done to watch channels"] [traceID=a58ea6ca05f57554e6cd4f8d1b5b057a] [ts=448710434854010887] [collection=448710428506194045] [vChannels="[by-dev-rootcoord-dml_0_448710428506194045v0]"]
standalone-1  | [2024/03/29 06:41:08.914 +00:00] [INFO] [msgdispatcher/manager.go:67] ["create new dispatcherManager"] [role=datanode] [nodeID=0] [pchannel=by-dev-rootcoord-dml_0]
standalone-1  | [2024/03/29 06:41:08.914 +00:00] [INFO] [msgdispatcher/dispatcher.go:93] ["creating dispatcher..."] [pchannel=by-dev-rootcoord-dml_0] [subName=datanode-0-by-dev-rootcoord-dml_0_448710428506194045v0-true] [isMain=true]
standalone-1  | [2024/03/29 06:41:08.914 +00:00] [INFO] [msgstream/mq_msgstream.go:116] ["Msg Stream state"] [can_produce=true]
standalone-1  | [2024/03/29 06:41:08.914 +00:00] [INFO] [msgstream/mq_msgstream.go:853] ["MsgStream begin to seek start msg: "] [channel=by-dev-rootcoord-dml_0] [MessageID="AQAc4sEjOgY="]
standalone-1  | [2024/03/29 06:41:08.915 +00:00] [INFO] [msgstream/mq_msgstream.go:863] ["MsgStream seek finished"] [channel=by-dev-rootcoord-dml_0]
standalone-1  | [2024/03/29 06:41:08.915 +00:00] [INFO] [msgstream/mq_msgstream.go:918] ["skip msg"] [source=0] [type=CreateCollection] [size=268] [position=<nil>]
standalone-1  | [2024/03/29 06:41:08.915 +00:00] [INFO] [msgdispatcher/manager.go:155] ["dispatcherManager is running..."] [role=datanode] [nodeID=0] [pchannel=by-dev-rootcoord-dml_0]
standalone-1  | [2024/03/29 06:41:08.915 +00:00] [INFO] [rootcoord/meta_table.go:414] ["change collection state"] [traceID=a58ea6ca05f57554e6cd4f8d1b5b057a] [collection=448710428506194045] [state=CollectionCreated] [ts=448710434854010887]
standalone-1  | [2024/03/29 06:41:08.915 +00:00] [INFO] [rootcoord/root_coord.go:1019] ["done to create collection"] [traceID=a58ea6ca05f57554e6cd4f8d1b5b057a] [role=rootcoord] [name=main] [ts=448710434854010887]
standalone-1  | [2024/03/29 06:41:08.919 +00:00] [INFO] [proxy/meta_cache.go:383] ["meta update success"] [database=default] [collectionName=main] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:08.919 +00:00] [INFO] [proxy/impl.go:1809] ["CreateIndex received"] [traceID=9144f591cc9aadda8f844c2c5cdac67e] [role=proxy] [db=default] [collection=main] [field=id] [extra_params=null]
standalone-1  | [2024/03/29 06:41:08.919 +00:00] [INFO] [proxy/impl.go:1822] ["CreateIndex enqueued"] [traceID=9144f591cc9aadda8f844c2c5cdac67e] [role=proxy] [db=default] [collection=main] [field=id] [extra_params=null] [BeginTs=448710434854010892] [EndTs=448710434854010892]
standalone-1  | [2024/03/29 06:41:08.919 +00:00] [INFO] [proxy/task_index.go:400] ["proxy create index"] [traceID=9144f591cc9aadda8f844c2c5cdac67e] [collectionID=448710428506194045] [fieldID=100] [indexName=] [typeParams=null] [indexParams=null] [newExtraParams=null]
standalone-1  | [2024/03/29 06:41:08.919 +00:00] [INFO] [datacoord/index_service.go:176] ["receive CreateIndex request"] [traceID=9144f591cc9aadda8f844c2c5cdac67e] [collectionID=448710428506194045] [IndexName=] [fieldID=100] [TypeParams=null] [IndexParams="[{\"key\":\"index_type\",\"value\":\"STL_SORT\"}]"]
standalone-1  | [2024/03/29 06:41:08.920 +00:00] [INFO] [datacoord/index_meta.go:272] ["meta update: CreateIndex"] [collectionID=448710428506194045] [fieldID=100] [indexID=448710428506194051] [indexName=id]
standalone-1  | [2024/03/29 06:41:08.920 +00:00] [INFO] [datacoord/index_meta.go:285] ["meta update: CreateIndex success"] [collectionID=448710428506194045] [fieldID=100] [indexID=448710428506194051] [indexName=id]
standalone-1  | [2024/03/29 06:41:08.920 +00:00] [INFO] [datacoord/index_service.go:263] ["CreateIndex successfully"] [traceID=9144f591cc9aadda8f844c2c5cdac67e] [collectionID=448710428506194045] [IndexName=id] [fieldID=100] [IndexID=448710428506194051]
standalone-1  | [2024/03/29 06:41:08.920 +00:00] [INFO] [datacoord/index_service.go:129] ["receive create index notify"] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:08.920 +00:00] [INFO] [proxy/impl.go:1840] ["CreateIndex done"] [traceID=9144f591cc9aadda8f844c2c5cdac67e] [role=proxy] [db=default] [collection=main] [field=id] [extra_params=null] [BeginTs=448710434854010892] [EndTs=448710434854010892]
standalone-1  | [2024/03/29 06:41:08.921 +00:00] [INFO] [proxy/impl.go:5531] ["AllocTimestamp request receive"]
standalone-1  | [2024/03/29 06:41:08.921 +00:00] [INFO] [proxy/impl.go:5540] ["AllocTimestamp request success"] [timestamp=448710434854010894]
standalone-1  | [2024/03/29 06:41:09.181 +00:00] [INFO] [msgdispatcher/dispatcher.go:113] ["seek successfully"] [pchannel=by-dev-rootcoord-dml_0] [subName=datanode-0-by-dev-rootcoord-dml_0_448710428506194045v0-true] [isMain=true] [posTime=2024/03/29 06:41:08.895 +00:00] [tsLag=286.939412ms]
standalone-1  | [2024/03/29 06:41:09.181 +00:00] [INFO] [msgdispatcher/dispatcher.go:149] ["add new target"] [vchannel=by-dev-rootcoord-dml_0_448710428506194045v0] [isMain=true]
standalone-1  | [2024/03/29 06:41:09.181 +00:00] [INFO] [msgdispatcher/manager.go:102] ["add main dispatcher"] [role=datanode] [nodeID=0] [vchannel=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:09.181 +00:00] [INFO] [msgdispatcher/dispatcher.go:177] ["get signal"] [pchannel=by-dev-rootcoord-dml_0] [signal=start] [isMain=true]
standalone-1  | [2024/03/29 06:41:09.181 +00:00] [INFO] [msgdispatcher/dispatcher.go:200] ["handle signal done"] [pchannel=by-dev-rootcoord-dml_0] [signal=start] [isMain=true]
standalone-1  | [2024/03/29 06:41:09.181 +00:00] [INFO] [msgdispatcher/client.go:86] ["register done"] [role=datanode] [nodeID=0] [vchannel=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:09.181 +00:00] [INFO] [datanode/flow_graph_dmstream_input_node.go:53] ["datanode seek successfully when register to msgDispatcher"] [nodeID=1] [collectionID=448710428506194045] [vchannel=by-dev-rootcoord-dml_0_448710428506194045v0] [msgID="\u0001\u0000\u001c\ufffd\ufffd#:\u0006"] [tsTime=2024/03/29 06:41:08.895 +00:00] [tsLag=286.999534ms]
standalone-1  | [2024/03/29 06:41:09.182 +00:00] [INFO] [datanode/flow_graph_dd_node.go:318] ["ddNode add sealed and growing segments"] [collectionID=448710428506194045] ["No. sealed segments"=0] ["No. growing segments"=0]
standalone-1  | [2024/03/29 06:41:09.182 +00:00] [INFO] [datanode/data_sync_service.go:91] ["dataSyncService starting flow graph"] [collectionID=448710428506194045] [vChanName=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:09.182 +00:00] [INFO] [datanode/event_manager.go:176] ["handle put event: new data sync service success"] [vChanName=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:09.182 +00:00] [INFO] [msgdispatcher/dispatcher.go:205] ["begin to work"] [pchannel=by-dev-rootcoord-dml_0] [isMain=true]
standalone-1  | [2024/03/29 06:41:09.182 +00:00] [INFO] [datacoord/channel_checker.go:167] ["stop timer for channel"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [timerCount=0]
standalone-1  | [2024/03/29 06:41:09.182 +00:00] [INFO] [datanode/event_manager.go:209] ["handle put event success"] [key=channelwatch/1/by-dev-rootcoord-dml_0_448710428506194045v0] [state=WatchSuccess] [vChanName=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:09.182 +00:00] [INFO] [datacoord/channel_manager.go:668] ["datanode successfully watched channel"] [nodeID=1] [channelName=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:09.182 +00:00] [INFO] [datanode/event_manager.go:116] ["DataNode received a PUT event with an end State"] [state=WatchSuccess]
standalone-1  | [2024/03/29 06:41:09.182 +00:00] [INFO] [datacoord/channel_checker.go:134] ["stop timer before timeout"] ["watch state"=ToWatch] [nodeID=1] [channelName=by-dev-rootcoord-dml_0_448710428506194045v0] ["timeout interval"=5m0s] [runningTimerCount=0]
standalone-1  | [2024/03/29 06:41:09.381 +00:00] [INFO] [writebuffer/write_buffer.go:238] ["checkpoint from latest consumed msg"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:09.423 +00:00] [INFO] [datacoord/index_service.go:684] ["receive DescribeIndex request"] [traceID=9ceb7948d73bb1c09ccf4b83712d858a] [collectionID=448710428506194045] [indexName=] [timestamp=448710434854010894]
standalone-1  | [2024/03/29 06:41:09.423 +00:00] [INFO] [datacoord/index_service.go:605] ["completeIndexInfo success"] [collectionID=448710428506194045] [indexID=448710428506194051] [totalRows=0] [indexRows=0] [pendingIndexRows=0] [state=Finished] [failReason=]
standalone-1  | [2024/03/29 06:41:09.423 +00:00] [INFO] [datacoord/index_service.go:732] ["DescribeIndex success"] [traceID=9ceb7948d73bb1c09ccf4b83712d858a] [collectionID=448710428506194045] [indexName=]
standalone-1  | [2024/03/29 06:41:09.426 +00:00] [INFO] [proxy/impl.go:1809] ["CreateIndex received"] [traceID=f5a166dd9bf249b726bae28c8c86d436] [role=proxy] [db=default] [collection=main] [field=vec] [extra_params="[{\"key\":\"index_type\",\"value\":\"DISKANN\"},{\"key\":\"metric_type\",\"value\":\"IP\"}]"]
standalone-1  | [2024/03/29 06:41:09.426 +00:00] [INFO] [proxy/impl.go:1822] ["CreateIndex enqueued"] [traceID=f5a166dd9bf249b726bae28c8c86d436] [role=proxy] [db=default] [collection=main] [field=vec] [extra_params="[{\"key\":\"index_type\",\"value\":\"DISKANN\"},{\"key\":\"metric_type\",\"value\":\"IP\"}]"] [BeginTs=448710434985082884] [EndTs=448710434985082884]
standalone-1  | [2024/03/29 06:41:09.426 +00:00] [INFO] [proxy/task_index.go:400] ["proxy create index"] [traceID=f5a166dd9bf249b726bae28c8c86d436] [collectionID=448710428506194045] [fieldID=101] [indexName=] [typeParams="[{\"key\":\"dim\",\"value\":\"1024\"}]"] [indexParams="[{\"key\":\"index_type\",\"value\":\"DISKANN\"},{\"key\":\"metric_type\",\"value\":\"IP\"}]"] [newExtraParams="[{\"key\":\"index_type\",\"value\":\"DISKANN\"},{\"key\":\"metric_type\",\"value\":\"IP\"}]"]
standalone-1  | [2024/03/29 06:41:09.426 +00:00] [INFO] [datacoord/index_service.go:176] ["receive CreateIndex request"] [traceID=f5a166dd9bf249b726bae28c8c86d436] [collectionID=448710428506194045] [IndexName=] [fieldID=101] [TypeParams="[{\"key\":\"dim\",\"value\":\"1024\"}]"] [IndexParams="[{\"key\":\"metric_type\",\"value\":\"IP\"},{\"key\":\"max_degree\",\"value\":\"56\"},{\"key\":\"search_list_size\",\"value\":\"100\"},{\"key\":\"pq_code_budget_gb_ratio\",\"value\":\"0.125\"},{\"key\":\"num_build_thread_ratio\",\"value\":\"1\"},{\"key\":\"search_cache_budget_gb_ratio\",\"value\":\"0.1\"},{\"key\":\"index_type\",\"value\":\"DISKANN\"}]"]
standalone-1  | [2024/03/29 06:41:09.427 +00:00] [INFO] [indexnode/indexnode_service.go:241] ["Get Index Job Stats"] [traceID=0f78d0c9810f22c418cebb6db446b54b] [unissued=0] [active=0] [slot=1]
standalone-1  | [2024/03/29 06:41:09.428 +00:00] [INFO] [datacoord/indexnode_manager.go:202] ["IndexNode support disk index"]
standalone-1  | [2024/03/29 06:41:09.428 +00:00] [INFO] [datacoord/index_meta.go:272] ["meta update: CreateIndex"] [collectionID=448710428506194045] [fieldID=101] [indexID=448710428506194056] [indexName=vec]
standalone-1  | [2024/03/29 06:41:09.428 +00:00] [INFO] [datacoord/index_meta.go:285] ["meta update: CreateIndex success"] [collectionID=448710428506194045] [fieldID=101] [indexID=448710428506194056] [indexName=vec]
standalone-1  | [2024/03/29 06:41:09.428 +00:00] [INFO] [datacoord/index_service.go:263] ["CreateIndex successfully"] [traceID=f5a166dd9bf249b726bae28c8c86d436] [collectionID=448710428506194045] [IndexName=vec] [fieldID=101] [IndexID=448710428506194056]
standalone-1  | [2024/03/29 06:41:09.428 +00:00] [INFO] [datacoord/index_service.go:129] ["receive create index notify"] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:09.429 +00:00] [INFO] [proxy/impl.go:1840] ["CreateIndex done"] [traceID=f5a166dd9bf249b726bae28c8c86d436] [role=proxy] [db=default] [collection=main] [field=vec] [extra_params="[{\"key\":\"index_type\",\"value\":\"DISKANN\"},{\"key\":\"metric_type\",\"value\":\"IP\"}]"] [BeginTs=448710434985082884] [EndTs=448710434985082884]
standalone-1  | [2024/03/29 06:41:09.429 +00:00] [INFO] [proxy/impl.go:5531] ["AllocTimestamp request receive"]
standalone-1  | [2024/03/29 06:41:09.429 +00:00] [INFO] [proxy/impl.go:5540] ["AllocTimestamp request success"] [timestamp=448710434985082886]
standalone-1  | [2024/03/29 06:41:09.931 +00:00] [INFO] [datacoord/index_service.go:684] ["receive DescribeIndex request"] [traceID=7e1c46ea33f2057f959b5b83bdcfef00] [collectionID=448710428506194045] [indexName=] [timestamp=448710434985082886]
standalone-1  | [2024/03/29 06:41:09.931 +00:00] [INFO] [datacoord/index_service.go:605] ["completeIndexInfo success"] [collectionID=448710428506194045] [indexID=448710428506194056] [totalRows=0] [indexRows=0] [pendingIndexRows=0] [state=Finished] [failReason=]
standalone-1  | [2024/03/29 06:41:09.931 +00:00] [INFO] [datacoord/index_service.go:605] ["completeIndexInfo success"] [collectionID=448710428506194045] [indexID=448710428506194051] [totalRows=0] [indexRows=0] [pendingIndexRows=0] [state=Finished] [failReason=]
standalone-1  | [2024/03/29 06:41:09.931 +00:00] [INFO] [datacoord/index_service.go:732] ["DescribeIndex success"] [traceID=7e1c46ea33f2057f959b5b83bdcfef00] [collectionID=448710428506194045] [indexName=]
standalone-1  | [2024/03/29 06:41:09.933 +00:00] [INFO] [datacoord/index_service.go:684] ["receive DescribeIndex request"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045] [indexName=] [timestamp=0]
standalone-1  | [2024/03/29 06:41:09.933 +00:00] [INFO] [datacoord/index_service.go:605] ["completeIndexInfo success"] [collectionID=448710428506194045] [indexID=448710428506194051] [totalRows=0] [indexRows=0] [pendingIndexRows=0] [state=Finished] [failReason=]
standalone-1  | [2024/03/29 06:41:09.933 +00:00] [INFO] [datacoord/index_service.go:605] ["completeIndexInfo success"] [collectionID=448710428506194045] [indexID=448710428506194056] [totalRows=0] [indexRows=0] [pendingIndexRows=0] [state=Finished] [failReason=]
standalone-1  | [2024/03/29 06:41:09.933 +00:00] [INFO] [datacoord/index_service.go:732] ["DescribeIndex success"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045] [indexName=]
standalone-1  | [2024/03/29 06:41:09.934 +00:00] [INFO] [querycoordv2/services.go:198] ["load collection request received"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045] [replicaNumber=1] [resourceGroups="[]"] [refreshMode=false] [schema="name:\"main\" fields:<fieldID:100 name:\"id\" is_primary_key:true data_type:Int64 > fields:<fieldID:101 name:\"vec\" data_type:Float16Vector type_params:<key:\"dim\" value:\"1024\" > > "] [fieldIndexes="[448710428506194056,448710428506194051]"]
standalone-1  | [2024/03/29 06:41:09.934 +00:00] [INFO] [job/scheduler.go:150] ["start to pre-execute job"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:09.934 +00:00] [INFO] [job/scheduler.go:158] ["start to execute job"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:09.934 +00:00] [INFO] [meta/failed_load_cache.go:107] ["FailedLoadCache removes cache"] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:09.934 +00:00] [INFO] [job/job_load.go:136] ["find partitions to load"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045] [partitions="[448710428506194046]"]
standalone-1  | [2024/03/29 06:41:09.935 +00:00] [INFO] [utils/meta.go:138] ["assign nodes to replicas"] [collectionID=448710428506194045] [replicas="[448710428661645313]"] [rgName=__default_resource_group] [nodes="[1]"]
standalone-1  | [2024/03/29 06:41:09.935 +00:00] [INFO] [job/job_load.go:159] ["replica created"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045] [replicaID=448710428661645313] [nodes="[1]"] [resourceGroup=__default_resource_group]
standalone-1  | [2024/03/29 06:41:09.936 +00:00] [INFO] [datacoord/index_service.go:926] ["List index success"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:09.937 +00:00] [INFO] [querynodev2/services.go:385] ["received load partitions request"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045] [partitionIDs="[448710428506194046]"]
standalone-1  | [2024/03/29 06:41:09.937 +00:00] [INFO] [querynodev2/services.go:397] ["load partitions done"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045] [partitionIDs="[448710428506194046]"]
standalone-1  | [2024/03/29 06:41:09.938 +00:00] [INFO] [observers/target_observer.go:150] ["manually trigger update next target"] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:09.938 +00:00] [INFO] [datacoord/services.go:843] ["get recovery info request received"] [traceID=b390d44745c6a5249c78cc38d5a50c8c] [collectionID=448710428506194045] [partitionIDs="[]"]
standalone-1  | [2024/03/29 06:41:09.938 +00:00] [INFO] [datacoord/handler.go:117] [GetQueryVChanPositions] [collectionID=448710428506194045] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [numOfSegments=0] ["indexed segment"=0]
standalone-1  | [2024/03/29 06:41:09.938 +00:00] [INFO] [datacoord/handler.go:286] ["segment position not found, setting channel seek position to channel start position"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [posTs=448710434854010887] [posTime=2024/03/29 06:41:08.895 +00:00]
standalone-1  | [2024/03/29 06:41:09.938 +00:00] [INFO] [datacoord/handler.go:320] ["channel seek position set from collection start position"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [posTs=448710434854010887] [posTime=2024/03/29 06:41:08.895 +00:00]
standalone-1  | [2024/03/29 06:41:09.938 +00:00] [INFO] [datacoord/services.go:858] ["datacoord append channelInfo in GetRecoveryInfo"] [traceID=b390d44745c6a5249c78cc38d5a50c8c] [collectionID=448710428506194045] [partitionIDs="[]"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] ["# of unflushed segments"=0] ["# of flushed segments"=0] ["# of dropped segments"=0] ["# of indexed segments"=0]
standalone-1  | [2024/03/29 06:41:09.939 +00:00] [INFO] [observers/target_observer.go:161] ["manually trigger update target done"] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:09.939 +00:00] [INFO] [observers/target_observer.go:163] ["notify manually trigger update target done"] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:09.939 +00:00] [INFO] [job/scheduler.go:144] ["start to post-execute job"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:09.939 +00:00] [INFO] [job/scheduler.go:146] ["job finished"] [traceID=09733dbd811d4df1078ab43cfe0577ee] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:09.940 +00:00] [INFO] [querycoordv2/services.go:58] ["show collections request received"] [traceID=82fa499b182e6ebca4ac08f661245ef7] [collections="[448710428506194045]"]
standalone-1  | [2024/03/29 06:41:10.278 +00:00] [INFO] [balance/utils.go:114] ["create channel task"] [collection=448710428506194045] [replica=448710428661645313] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [from=-1] [to=1]
standalone-1  | [2024/03/29 06:41:10.278 +00:00] [INFO] [task/scheduler.go:281] ["task added"] [task="[id=1711694445276] [type=Grow] [source=channel_checker] [reason=lacks of channel] [collectionID=448710428506194045] [replicaID=448710428661645313] [priority=High] [actionsCount=1] [actions={[type=Grow][node=1]}] [channel=by-dev-rootcoord-dml_0_448710428506194045v0]"]
standalone-1  | [2024/03/29 06:41:10.442 +00:00] [INFO] [querycoordv2/services.go:58] ["show collections request received"] [traceID=86ffb86e6e45a43df2bad066c7ac70e3] [collections="[448710428506194045]"]
standalone-1  | [2024/03/29 06:41:10.690 +00:00] [INFO] [datacoord/import_scheduler.go:153] ["peek slots done"] [nodeSlots="{\"1\":16}"]
standalone-1  | [2024/03/29 06:41:10.742 +00:00] [INFO] [task/executor.go:118] ["execute the action of task"] [taskID=1711694445276] [collectionID=448710428506194045] [replicaID=448710428661645313] [step=0] [source=channel_checker]
standalone-1  | [2024/03/29 06:41:10.742 +00:00] [INFO] [task/scheduler.go:588] ["processed tasks"] [nodeID=1] [toProcessNum=1] [committedNum=1] [toRemoveNum=0]
standalone-1  | [2024/03/29 06:41:10.742 +00:00] [INFO] [task/scheduler.go:594] ["process tasks related to node done"] [nodeID=1] [processingTaskNum=1] [waitingTaskNum=0] [segmentTaskNum=0] [channelTaskNum=1]
standalone-1  | [2024/03/29 06:41:10.743 +00:00] [INFO] [datacoord/index_service.go:926] ["List index success"] [traceID=7032a4b18d279c63bc85a27f7ed4703c] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:10.743 +00:00] [INFO] [task/executor.go:348] ["subscribe channel..."] [taskID=1711694445276] [collectionID=448710428506194045] [replicaID=448710428661645313] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [node=1] [source=channel_checker] [checkpoint=448710434854010887] [sinceCheckpoint=1.8481668s]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [querynodev2/services.go:199] ["received watch channel request"] [traceID=7032a4b18d279c63bc85a27f7ed4703c] [collectionID=448710428506194045] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [currentNodeID=1] [version=1711694470743165067]
standalone-1  | I20240329 06:41:10.744508   120 Collection.cpp:64] [SERVER][parseIndexMeta][milvus] index meta info: maxRowCount : {62185} FieldId : {100 IndexParams : { index_type : STL_SORT,  }TypeParams : {}}FieldId : {101 IndexParams : { index_type : DISKANN, max_degree : 56, metric_type : IP, num_build_thread_ratio : 1, pq_code_budget_gb_ratio : 0.125, search_cache_budget_gb_ratio : 0.1, search_list_size : 100,  }TypeParams : {dim : 1024, }}
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [segments/collection.go:184] ["add partitions"] [collection=448710428506194045] [partitions="[448710428506194046]"]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [delegator/delegator.go:795] ["Init delete cache with list delete buffer"] [traceID=7032a4b18d279c63bc85a27f7ed4703c] [collectionID=448710428506194045] [replicaID=448710428661645313] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [version=1711694470743165067] [startTs=448710434854010887] [sizePerBlock=1048576] [startTime=2024/03/29 06:41:08.895 +00:00]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [delegator/delegator.go:821] ["finish build new shardDelegator"] [traceID=7032a4b18d279c63bc85a27f7ed4703c] [collectionID=448710428506194045] [replicaID=448710428661645313] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [version=1711694470743165067] [startTs=448710434854010887]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [tsafe/manager.go:69] ["add tSafe done"] [traceID=7032a4b18d279c63bc85a27f7ed4703c] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [timestamp=2024/03/29 06:41:08.895 +00:00]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [pipeline/manager.go:66] ["start create pipeine"] [collectionID=448710428506194045] [channel=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [delegator/delegator_data.go:328] ["loading growing segments..."] [traceID=7032a4b18d279c63bc85a27f7ed4703c] [collectionID=448710428506194045] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [replicaID=448710428661645313] [segmentIDs="[]"]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [segments/segment_loader.go:559] ["no segment to load"] [traceID=7032a4b18d279c63bc85a27f7ed4703c] [collectionID=448710428506194045] [segmentType=Growing]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [delegator/delegator_data.go:360] ["load growing segments done"] [traceID=7032a4b18d279c63bc85a27f7ed4703c] [collectionID=448710428506194045] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [replicaID=448710428661645313] [segmentIDs="[]"]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [delegator/delegator_data.go:317] ["add growing segments to delegator"] [collectionID=448710428506194045] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [replicaID=448710428661645313] [segmentIDs="[]"]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [msgdispatcher/manager.go:67] ["create new dispatcherManager"] [role=querynode] [nodeID=1] [pchannel=by-dev-rootcoord-dml_0]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [msgdispatcher/dispatcher.go:93] ["creating dispatcher..."] [pchannel=by-dev-rootcoord-dml_0] [subName=querynode-1-by-dev-rootcoord-dml_0_448710428506194045v0-true] [isMain=true]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [msgstream/mq_msgstream.go:116] ["Msg Stream state"] [can_produce=true]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [msgstream/mq_msgstream.go:853] ["MsgStream begin to seek start msg: "] [channel=by-dev-rootcoord-dml_0] [MessageID="AQAc4sEjOgY="]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [msgdispatcher/manager.go:155] ["dispatcherManager is running..."] [role=querynode] [nodeID=1] [pchannel=by-dev-rootcoord-dml_0]
standalone-1  | [2024/03/29 06:41:10.744 +00:00] [INFO] [msgstream/mq_msgstream.go:863] ["MsgStream seek finished"] [channel=by-dev-rootcoord-dml_0]
standalone-1  | [2024/03/29 06:41:10.745 +00:00] [INFO] [msgstream/mq_msgstream.go:918] ["skip msg"] [source=0] [type=CreateCollection] [size=268] [position=<nil>]
standalone-1  | [2024/03/29 06:41:10.745 +00:00] [INFO] [msgdispatcher/dispatcher.go:113] ["seek successfully"] [pchannel=by-dev-rootcoord-dml_0] [subName=querynode-1-by-dev-rootcoord-dml_0_448710428506194045v0-true] [isMain=true] [posTime=2024/03/29 06:41:08.895 +00:00] [tsLag=1.850115404s]
standalone-1  | [2024/03/29 06:41:10.745 +00:00] [INFO] [msgdispatcher/dispatcher.go:149] ["add new target"] [vchannel=by-dev-rootcoord-dml_0_448710428506194045v0] [isMain=true]
standalone-1  | [2024/03/29 06:41:10.745 +00:00] [INFO] [msgdispatcher/manager.go:102] ["add main dispatcher"] [role=querynode] [nodeID=1] [vchannel=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:10.745 +00:00] [INFO] [msgdispatcher/dispatcher.go:177] ["get signal"] [pchannel=by-dev-rootcoord-dml_0] [signal=start] [isMain=true]
standalone-1  | [2024/03/29 06:41:10.745 +00:00] [INFO] [msgdispatcher/dispatcher.go:200] ["handle signal done"] [pchannel=by-dev-rootcoord-dml_0] [signal=start] [isMain=true]
standalone-1  | [2024/03/29 06:41:10.745 +00:00] [INFO] [msgdispatcher/client.go:86] ["register done"] [role=querynode] [nodeID=1] [vchannel=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:10.745 +00:00] [INFO] [pipeline/stream_pipeline.go:79] ["stream pipeline seeks from position with msgDispatcher"] [pchannel=by-dev-rootcoord-dml_0] [vchannel=by-dev-rootcoord-dml_0_448710428506194045v0] [checkpointTs=2024/03/29 06:41:08.895 +00:00] [tsLag=1.850193288s] [elapse=406.554µs]
standalone-1  | [2024/03/29 06:41:10.745 +00:00] [INFO] [querynodev2/services.go:342] ["watch dml channel success"] [traceID=7032a4b18d279c63bc85a27f7ed4703c] [collectionID=448710428506194045] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [currentNodeID=1]
standalone-1  | [2024/03/29 06:41:10.745 +00:00] [INFO] [msgdispatcher/dispatcher.go:205] ["begin to work"] [pchannel=by-dev-rootcoord-dml_0] [isMain=true]
standalone-1  | [2024/03/29 06:41:10.745 +00:00] [INFO] [task/executor.go:363] ["subscribe channel done"] [taskID=1711694445276] [collectionID=448710428506194045] [replicaID=448710428661645313] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [node=1] [source=channel_checker] [taskID=1711694445276] ["time taken"=3.028896ms]
standalone-1  | [2024/03/29 06:41:10.943 +00:00] [INFO] [querycoordv2/services.go:58] ["show collections request received"] [traceID=8bb1de00fbda311013524f96fc32276d] [collections="[448710428506194045]"]
standalone-1  | [2024/03/29 06:41:11.242 +00:00] [INFO] [task/scheduler.go:797] ["task removed"] [taskID=1711694445276] [collectionID=448710428506194045] [replicaID=448710428661645313] [status=succeeded] [channel=by-dev-rootcoord-dml_0_448710428506194045v0]
standalone-1  | [2024/03/29 06:41:11.242 +00:00] [INFO] [task/scheduler.go:588] ["processed tasks"] [nodeID=1] [toProcessNum=0] [committedNum=0] [toRemoveNum=1]
standalone-1  | [2024/03/29 06:41:11.242 +00:00] [INFO] [task/scheduler.go:594] ["process tasks related to node done"] [nodeID=1] [processingTaskNum=0] [waitingTaskNum=0] [segmentTaskNum=0] [channelTaskNum=0]
standalone-1  | [2024/03/29 06:41:11.279 +00:00] [INFO] [observers/collection_observer.go:211] ["partition load progress"] [collectionID=448710428506194045] [partitionID=448710428506194046] [subChannelCount=1] [loadSegmentCount=0]
standalone-1  | [2024/03/29 06:41:11.279 +00:00] [WARN] [observers/collection_observer.go:225] ["failed to manual check current target, skip update load status"] [collectionID=448710428506194045] [partitionID=448710428506194046]
standalone-1  | [2024/03/29 06:41:11.279 +00:00] [INFO] [datacoord/index_service.go:926] ["List index success"] [traceID=f8c458871dd24b84affa72a145e0f3e6] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:11.280 +00:00] [INFO] [querynodev2/services.go:1403] ["sync action"] [traceID=ada22205a6a6ce82aa204176d00fa4c3] [collectionID=448710428506194045] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [currentNodeID=1] [Action=UpdateVersion] [TargetVersion=1711694469938453032]
standalone-1  | [2024/03/29 06:41:11.280 +00:00] [INFO] [delegator/distribution.go:299] ["Update readable segment version"] [oldVersion=0] [newVersion=1711694469938453032] [growingSegmentNum=0] [sealedSegmentNum=0]
standalone-1  | [2024/03/29 06:41:11.280 +00:00] [INFO] [observers/target_observer.go:482] ["observer trigger update current target"] [collectionID=448710428506194045]
standalone-1  | [2024/03/29 06:41:11.280 +00:00] [INFO] [datacoord/services.go:843] ["get recovery info request received"] [traceID=9bfa23d9d4917f13634717ff3852aeb6] [collectionID=448710428506194045] [partitionIDs="[]"]
standalone-1  | [2024/03/29 06:41:11.280 +00:00] [INFO] [datacoord/handler.go:117] [GetQueryVChanPositions] [collectionID=448710428506194045] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [numOfSegments=0] ["indexed segment"=0]
standalone-1  | [2024/03/29 06:41:11.280 +00:00] [INFO] [datacoord/handler.go:286] ["segment position not found, setting channel seek position to channel start position"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [posTs=448710434854010887] [posTime=2024/03/29 06:41:08.895 +00:00]
standalone-1  | [2024/03/29 06:41:11.280 +00:00] [INFO] [datacoord/handler.go:320] ["channel seek position set from collection start position"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] [posTs=448710434854010887] [posTime=2024/03/29 06:41:08.895 +00:00]
standalone-1  | [2024/03/29 06:41:11.280 +00:00] [INFO] [datacoord/services.go:858] ["datacoord append channelInfo in GetRecoveryInfo"] [traceID=9bfa23d9d4917f13634717ff3852aeb6] [collectionID=448710428506194045] [partitionIDs="[]"] [channel=by-dev-rootcoord-dml_0_448710428506194045v0] ["# of unflushed segments"=0] ["# of flushed segments"=0] ["# of dropped segments"=0] ["# of indexed segments"=0]
standalone-1  | [2024/03/29 06:41:11.445 +00:00] [INFO] [querycoordv2/services.go:58] ["show collections request received"] [traceID=117c516ed6f2876895a6b384d70466db] [collections="[448710428506194045]"]
standalone-1  | [2024/03/29 06:41:11.947 +00:00] [INFO] [querycoordv2/services.go:58] ["show collections request received"] [traceID=87441eea9216a87dc0db1a051160c8b0] [collections="[448710428506194045]"]
standalone-1  | [2024/03/29 06:41:12.278 +00:00] [INFO] [observers/collection_observer.go:211] ["partition load progress"] [collectionID=448710428506194045] [partitionID=448710428506194046] [subChannelCount=1] [loadSegmentCount=0]
standalone-1  | [2024/03/29 06:41:12.279 +00:00] [INFO] [observers/collection_observer.go:234] ["load status updated"] [collectionID=448710428506194045] [partitionID=448710428506194046] [partitionLoadPercentage=100] [collectionLoadPercentage=100]
standalone-1  | [2024/03/29 06:41:12.449 +00:00] [INFO] [querycoordv2/services.go:58] ["show collections request received"] [traceID=aa692aadfb748c0a6e52f7729f4df7b9] [collections="[448710428506194045]"]
@wilsonzlin wilsonzlin added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 29, 2024
@xiaofan-luan
Copy link
Contributor

@liliu-z
could we add more checks on it

@yanliang567
Copy link
Contributor

/assign @liliu-z
/unassign

@sre-ci-robot sre-ci-robot assigned liliu-z and unassigned yanliang567 Mar 29, 2024
@yanliang567 yanliang567 added triage/accepted Indicates an issue or PR is ready to be actively worked on. and removed needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Mar 29, 2024
@xiaofan-luan
Copy link
Contributor

@wilsonzlin

diskann index actaully don't support BF16/Float16 index, we are still work on it.
For now we are going to add check on this

@wilsonzlin
Copy link
Author

Thanks for the update, yes I agree that a better check/message would be more debuggable, and perhaps also a mention in the docs.

@liliu-z liliu-z removed their assignment Apr 2, 2024
czs007 pushed a commit that referenced this issue Apr 5, 2024
issue: #30138
issue: #31724

pr: #31564

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
Co-authored-by: cqy123456 <39671710+cqy123456@users.noreply.github.com>
@NameLeSS-93
Copy link

Hi!

I faced a similar issue but only with FLOAT16_VECTOR without any indices at all.

How to reproduce:
Milvus standalone in docker milvusdb/milvus:v2.4.0-rc.1

from pymilvus import Collection, CollectionSchema, DataType, FieldSchema, connections


connections.connect()


work_id = FieldSchema(
    name="id",
    dtype=DataType.VARCHAR,
    max_length=33,
    description="work_id",
    is_primary=True,
)
embedding = FieldSchema(
    name="embedding",
    dtype=DataType.FLOAT16_VECTOR,
    descrition="title + abstract embedding",
    dim=1024,
    is_primary=False,
)
year = FieldSchema(
    name="year",
    dtype=DataType.INT64,
    description="year",
    is_primary=False,
)
concept_id_lvl_0 = FieldSchema(
    name="concept_id_lvl_0",
    dtype=DataType.VARCHAR,
    max_length=64,
    description="concept_id_lvl_0",
    is_primary=False,
)
concept_id_lvl_1 = FieldSchema(
    name="concept_id_lvl_1",
    dtype=DataType.VARCHAR,
    max_length=64,
    description="concept_id_lvl_1",
    is_primary=False,
)
schema = CollectionSchema(
    fields=[
        work_id,
        embedding,
        year,
        concept_id_lvl_0,
        concept_id_lvl_1,
    ],
    description="works collection",
)
collection = Collection(name='some_name', schema=schema)

collection.insert(
    data=[['W1234'], [[0] * 1024], [2010], [['C418']], [['C418']]],
    partition_name=str(2010),
)
collection.flush()

Traceback:

RPC error: [batch_insert], <ParamError: (code=1, message=Collection field dim is 1024, but entities field dim is 512)>, <Time:{'RPC start': '2024-04-13 13:03:23.231383', 'RPC error': '2024-04-13 13:03:23.231460'}>
Traceback (most recent call last):
  File "/home/nmyakishev-93/milvus_fp16.py", line 53, in <module>
    collection.insert(
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/orm/collection.py", line 500, in insert
    return conn.batch_insert(
           ^^^^^^^^^^^^^^^^^^
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/decorators.py", line 147, in handler
    raise e from e
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/decorators.py", line 143, in handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/decorators.py", line 182, in handler
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/decorators.py", line 122, in handler
    raise e from e
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/decorators.py", line 87, in handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/client/grpc_handler.py", line 575, in batch_insert
    raise err from err
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/client/grpc_handler.py", line 558, in batch_insert
    request = self._prepare_batch_insert_request(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/client/grpc_handler.py", line 542, in _prepare_batch_insert_request
    else Prepare.batch_insert_param(collection_name, entities, partition_name, fields_info)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/client/prepare.py", line 527, in batch_insert_param
    location = cls._pre_batch_check(entities, fields_info)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/client/prepare.py", line 472, in _pre_batch_check
    location, primary_key_loc, auto_id_loc = traverse_info(fields_info, entities)
                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/nmyakishev-93/.pyenv/versions/3.11.7/envs/proj_venv/lib/python3.11/site-packages/pymilvus/client/utils.py", line 320, in traverse_info
    raise ParamError(
pymilvus.exceptions.ParamError: <ParamError: (code=1, message=Collection field dim is 1024, but entities field dim is 512)>

pymilvus version:

name         : pymilvus              
version      : 2.4.0                 
description  : Python Sdk for Milvus

@xiaofan-luan
Copy link
Contributor

this will be fixed in 2.4

@xiaofan-luan
Copy link
Contributor

/assign @yanliang567
do we verify this issue?

@yanliang567
Copy link
Contributor

I believe we have fixed this in latest 2.4 build. @binbinlv could you please help to double check.
/assign @binbinlv
/unassign

@sre-ci-robot sre-ci-robot assigned binbinlv and unassigned yanliang567 Apr 15, 2024
@yanliang567 yanliang567 modified the milestones: 2.4.0, 2.4.1 Apr 15, 2024
@yanliang567 yanliang567 modified the milestones: 2.4.1, 2.4.2 May 7, 2024
Copy link

stale bot commented Jun 11, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Rotten issues close after 30d of inactivity. Reopen the issue with /reopen.

@stale stale bot added the stale indicates no udpates for 30 days label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Issues or changes related a bug stale indicates no udpates for 30 days triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

6 participants