Open k649781645 opened 3 years ago
使用milvusdm迁移collection 源和目标节点版本均为0.10.3(源为单机版、目标为集群版)
报错信息:Error with: local variable 'total_vectors' referenced before assignment
M2M配置信息如下:
M2M: # The dest-milvus version. milvus_version: 0.10.3 # Working directory of the source Milvus. source_milvus_path: '/data0/milvus' mysql_parameter: host: '172.18.248.189' user: 'root' port: 3306 password: '123456' database: 'milvus' source_collection: # specify the 'partition_1' and 'partition_2' partitions of the 'test' collection. tidea_is_sample: - '' dest_host: '172.18.151.165' dest_port: 19531 mode: 'skip' # 'skip/append/overwrite'
错误日志:
2021-11-05 21:18:58,140 | DEBUG | read_milvus_meta.py | connect_mysql | 20 | Successfully connect mysql 2021-11-05 21:18:58,142 | INFO | milvus_to_milvus.py | transform_milvus_data | 38 | Ready to transform all data of collection: tidea_is_sample/partitions: [''] 2021-11-05 21:18:58,143 | DEBUG | read_milvus_meta.py | get_collection_info | 72 | Get collection info(dimension, index_file_size, metric_type, version):((512, 1073741824, 1, '0.10.3'),) 2021-11-05 21:18:58,147 | DEBUG | read_milvus_data.py | read_milvus_file | 89 | Reading milvus/db data from collection: tidea_is_sample/partition: 2021-11-05 21:18:58,148 | DEBUG | read_milvus_meta.py | get_collection_dim_type | 96 | Get meta data about dimension and types: ((512, 1),) 2021-11-05 21:18:58,148 | DEBUG | read_milvus_meta.py | get_collection_segments_rows | 109 | Get meta data about segment and rows: () 2021-11-05 21:18:58,149 | ERROR | milvus_to_milvus.py | transform_milvus_data | 44 | Error with: local variable 'total_vectors' referenced before assignment
You can refer to #32.
使用milvusdm迁移collection 源和目标节点版本均为0.10.3(源为单机版、目标为集群版)
报错信息:Error with: local variable 'total_vectors' referenced before assignment
M2M配置信息如下:
错误日志: