mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comments of insert func on benchmark base file (#7907)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
98732b3d43
commit
da64fcb91c
@ -96,6 +96,10 @@ class BaseRunner(object):
|
||||
ni_time = 0.0
|
||||
vectors_per_file = utils.get_len_vectors_per_file(data_type, dimension)
|
||||
if size % vectors_per_file or size % ni:
|
||||
"""
|
||||
An error is reported when
|
||||
the amount of data inserted in a single time cannot divide the total amount of data
|
||||
"""
|
||||
logger.error("Not invalid collection size or ni")
|
||||
return False
|
||||
i = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user