milvus-io / milvus

A cloud-native vector database, storage for next generation AI applications
https://milvus.io
Apache License 2.0
30.41k stars 2.92k forks source link

[Bug]: [benchmark][standalone] Drop released partitions, but raise error `partition cannot be dropped, partition is loaded` #35574

Closed wangting0128 closed 2 months ago

wangting0128 commented 2 months ago

Is there an existing issue for this?

Environment

- Milvus version: master-20240819-795339ec-amd64
- Deployment mode(standalone or cluster): standalone
- MQ type(rocksmq, pulsar or kafka): rocksmq   
- SDK version(e.g. pymilvus v2.0.0rc2): 2.4.5rc7
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

argo task: fouramf-concurrent-wkxjs test case name: test_bitmap_locust_dql_dml_partitions_cluster

server:

NAME                                                              READY   STATUS      RESTARTS          AGE     IP              NODE         NOMINATED NODE   READINESS GATES
bitmap-dql-dml-partitions-etcd-0                                  1/1     Running     0                 15h     10.104.33.172   4am-node36   <none>           <none>
bitmap-dql-dml-partitions-milvus-standalone-697bbd944-gmhm6       1/1     Running     0                 15h     10.104.18.59    4am-node25   <none>           <none>
bitmap-dql-dml-partitions-minio-7bd96495cc-n692m                  1/1     Running     0                 15h     10.104.33.171   4am-node36   <none>           <none>

{pod=~"bitmap-dql-dml-partitions-milvus-standalone-697bbd944-gmhm6"} |~ "scene_test_partition_LNBcQVjY" image

client pod name: fouramf-concurrent-wkxjs-2635105422 client log:

[2024-08-19 11:26:07,612 -  INFO - fouram]: [Base] Collection schema: 
{'auto_id': False,
 'description': '',
 'fields': [{'name': 'id', 'description': '', 'type': <DataType.INT64: 5>, 'is_primary': True, 'auto_id': False}, {'name': 'float_vector', 'description': '', 'type': <DataType.FLOAT_VECTOR: 101>, 'params': {'dim': 128}},
            {'name': 'float_vector_1', 'description': '', 'type': <DataType.FLOAT_VECTOR: 101>, 'params': {'dim': 128}}, {'name': 'int8_1', 'description': '', 'type': <DataType.INT8: 2>},
            {'name': 'int16_1', 'description': '', 'type': <DataType.INT16: 3>}, {'name': 'int32_1', 'description': '', 'type': <DataType.INT32: 4>}, {'name': 'int64_1', 'description': '', 'type': <DataType.INT64: 5>},
            {'name': 'varchar_1', 'description': '', 'type': <DataType.VARCHAR: 21>, 'params': {'max_length': 100}}, {'name': 'bool_1', 'description': '', 'type': <DataType.BOOL: 1>},
            {'name': 'array_int8_1', 'description': '', 'type': <DataType.ARRAY: 22>, 'params': {'max_capacity': 13}, 'element_type': <DataType.INT8: 2>},
            {'name': 'array_int16_1', 'description': '', 'type': <DataType.ARRAY: 22>, 'params': {'max_capacity': 13}, 'element_type': <DataType.INT16: 3>},
            {'name': 'array_int32_1', 'description': '', 'type': <DataType.ARRAY: 22>, 'params': {'max_capacity': 13}, 'element_type': <DataType.INT32: 4>},
            {'name': 'array_int64_1', 'description': '', 'type': <DataType.ARRAY: 22>, 'params': {'max_capacity': 13}, 'element_type': <DataType.INT64: 5>},
            {'name': 'array_varchar_1', 'description': '', 'type': <DataType.ARRAY: 22>, 'params': {'max_length': 100, 'max_capacity': 13}, 'element_type': <DataType.VARCHAR: 21>},
            {'name': 'array_bool_1', 'description': '', 'type': <DataType.ARRAY: 22>, 'params': {'max_capacity': 13}, 'element_type': <DataType.BOOL: 1>}],
 'enable_dynamic_field': False}

hybrid_search error

[2024-08-19 15:23:08,740 - ERROR - fouram]: (api_response) : [Collection.hybrid_search] <MilvusException: (code=503, message=fail to search on QueryNode 1: distribution is not servcieable: channel not available[channel=by-dev-rootcoord-dml_0_451953729245282874v0])>, [requestId: eff7c6f0-5e3e-11ef-b3d7-d679d6792688] (api_request.py:57)
[2024-08-19 15:23:08,741 - ERROR - fouram]: [CheckFunc] hybrid_search request check failed, response:<MilvusException: (code=503, message=fail to search on QueryNode 1: distribution is not servcieable: channel not available[channel=by-dev-rootcoord-dml_0_451953729245282874v0])> (func_check.py:105)
截屏2024-08-20 11 31 28

test result:

[2024-08-19 15:44:26,440 -  INFO - fouram]: Print locust final stats. (locust_runner.py:56)
[2024-08-19 15:44:26,440 -  INFO - fouram]: Type     Name                                                                          # reqs      # fails |    Avg     Min     Max    Med |   req/s  failures/s (stats.py:789)
[2024-08-19 15:44:26,440 -  INFO - fouram]: --------|----------------------------------------------------------------------------|-------|-------------|-------|-------|-------|-------|--------|----------- (stats.py:789)
[2024-08-19 15:44:26,440 -  INFO - fouram]: grpc     hybrid_search                                                                    261     1(0.38%) |   1209       0    9568    780 |    0.02        0.00 (stats.py:789)
[2024-08-19 15:44:26,440 -  INFO - fouram]: grpc     load                                                                             256     0(0.00%) |   3673      15   15566   3000 |    0.02        0.00 (stats.py:789)
[2024-08-19 15:44:26,440 -  INFO - fouram]: grpc     query                                                                            234     0(0.00%) |    308      13    6847     32 |    0.02        0.00 (stats.py:789)
[2024-08-19 15:44:26,440 -  INFO - fouram]: grpc     scene_insert_partition                                                           234    20(8.55%) |  31666    3281  181519  30000 |    0.02        0.00 (stats.py:789)
[2024-08-19 15:44:26,440 -  INFO - fouram]: grpc     scene_test_partition                                                             237   29(12.24%) | 618821   31674 1370920 696000 |    0.02        0.00 (stats.py:789)
[2024-08-19 15:44:26,440 -  INFO - fouram]: grpc     scene_test_partition_hybrid_search                                               244    23(9.43%) | 654852   26111 1572737 692000 |    0.02        0.00 (stats.py:789)
[2024-08-19 15:44:26,441 -  INFO - fouram]: grpc     search                                                                           227     0(0.00%) |   1851     935   10412   1300 |    0.02        0.00 (stats.py:789)
[2024-08-19 15:44:26,441 -  INFO - fouram]: --------|----------------------------------------------------------------------------|-------|-------------|-------|-------|-------|-------|--------|----------- (stats.py:789)
[2024-08-19 15:44:26,441 -  INFO - fouram]:          Aggregated                                                                      1693    73(4.31%) | 186416       0 1572737   3700 |    0.16        0.01 (stats.py:789)
[2024-08-19 15:44:26,441 -  INFO - fouram]:  (stats.py:790)
[2024-08-19 15:44:26,445 -  INFO - fouram]: [PerfTemplate] Report data: 
{'server': {'deploy_tool': 'helm',
            'deploy_mode': 'standalone',
            'config_name': 'standalone_8c16m',
            'config': {'standalone': {'resources': {'limits': {'cpu': '16', 'memory': '64Gi'}, 'requests': {'cpu': '5.0', 'memory': '5Gi'}}},
                       'cluster': {'enabled': False},
                       'etcd': {'replicaCount': 1, 'metrics': {'enabled': True, 'podMonitor': {'enabled': True}}},
                       'minio': {'mode': 'standalone', 'metrics': {'podMonitor': {'enabled': True}}},
                       'pulsar': {'enabled': False},
                       'metrics': {'serviceMonitor': {'enabled': True}},
                       'log': {'level': 'debug'},
                       'indexNode': {'replicas': 2},
                       'queryNode': {'replicas': 2},
                       'image': {'all': {'repository': 'harbor.milvus.io/milvus/milvus', 'tag': 'master-20240819-795339ec-amd64'}}},
            'host': 'bitmap-dql-dml-partitions-milvus.qa-milvus.svc.cluster.local',
            'port': '19530',
            'uri': ''},
 'client': {'test_case_type': 'ConcurrentClientBase',
            'test_case_name': 'test_bitmap_locust_dql_dml_partitions_cluster',
            'test_case_params': {'dataset_params': {'metric_type': 'L2',
                                                    'dim': 128,
                                                    'max_length': 100,
                                                    'scalars_index': {'int8_1': {'index_type': 'BITMAP'},
                                                                      'int16_1': {'index_type': 'BITMAP'},
                                                                      'int32_1': {'index_type': 'BITMAP'},
                                                                      'int64_1': {'index_type': 'BITMAP'},
                                                                      'varchar_1': {'index_type': 'BITMAP'},
                                                                      'bool_1': {'index_type': 'BITMAP'},
                                                                      'array_int8_1': {'index_type': 'BITMAP'},
                                                                      'array_int16_1': {'index_type': 'BITMAP'},
                                                                      'array_int32_1': {'index_type': 'BITMAP'},
                                                                      'array_int64_1': {'index_type': 'BITMAP'},
                                                                      'array_varchar_1': {'index_type': 'BITMAP'},
                                                                      'array_bool_1': {'index_type': 'BITMAP'}},
                                                    'vectors_index': {'float_vector_1': {'index_type': 'HNSW',
                                                                                         'index_param': {'M': 8, 'efConstruction': 200},
                                                                                         'metric_type': 'L2'}},
                                                    'scalars_params': {'array_int8_1': {'params': {'max_capacity': 13},
                                                                                        'other_params': {'dataset': 'random_algorithm',
                                                                                                         'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                              'specify_range': [-128, 128],
                                                                                                                              'max_capacity': 13}}},
                                                                       'array_int16_1': {'params': {'max_capacity': 13},
                                                                                         'other_params': {'dataset': 'random_algorithm',
                                                                                                          'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                               'specify_range': [-200, 200],
                                                                                                                               'max_capacity': 13}}},
                                                                       'array_int32_1': {'params': {'max_capacity': 13},
                                                                                         'other_params': {'dataset': 'random_algorithm',
                                                                                                          'algorithm_params': {'algorithm_name': 'specify_scope',
                                                                                                                               'specify_range': [-300, 300],
                                                                                                                               'max_capacity': 13}}},
                                                                       'array_int64_1': {'params': {'max_capacity': 13},
                                                                                         'other_params': {'dataset': 'random_algorithm',
                                                                                                          'algorithm_params': {'algorithm_name': 'fixed_value_range',
                                                                                                                               'specify_range': [-400, 432],
                                                                                                                               'batch': 50,
                                                                                                                               'max_capacity': 13}}},
                                                                       'array_varchar_1': {'params': {'max_capacity': 13},
                                                                                           'other_params': {'dataset': 'random_algorithm',
                                                                                                            'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                                 'specify_range': [-1500, 1500],
                                                                                                                                 'max_capacity': 13}}},
                                                                       'array_bool_1': {'params': {'max_capacity': 13}},
                                                                       'int8_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                   'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                        'specify_range': [-128, 128],
                                                                                                                        'max_capacity': 13}}},
                                                                       'int16_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                    'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                         'specify_range': [-200, 200],
                                                                                                                         'max_capacity': 13}}},
                                                                       'int32_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                    'algorithm_params': {'algorithm_name': 'specify_scope',
                                                                                                                         'specify_range': [-300, 300],
                                                                                                                         'max_capacity': 13}}},
                                                                       'int64_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                    'algorithm_params': {'algorithm_name': 'fixed_value_range',
                                                                                                                         'specify_range': [-400, 432],
                                                                                                                         'batch': 50,
                                                                                                                         'max_capacity': 13}}},
                                                                       'varchar_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                      'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                           'specify_range': [-1500, 1500],
                                                                                                                           'max_capacity': 13}}}},
                                                    'extra_partitions': {'partitions': ['_default', 'partition_1', 'partition_2', 'partition_3', 'partition_4',
                                                                                        'partition_5', 'partition_6', 'partition_7', 'partition_8',
                                                                                        'partition_9'],
                                                                         'data_repeated': False},
                                                    'dataset_name': 'sift',
                                                    'dataset_size': 5000000,
                                                    'ni_per': 5000},
                                 'collection_params': {'other_fields': ['float_vector_1', 'int8_1', 'int16_1', 'int32_1', 'int64_1', 'varchar_1', 'bool_1',
                                                                        'array_int8_1', 'array_int16_1', 'array_int32_1', 'array_int64_1', 'array_varchar_1',
                                                                        'array_bool_1'],
                                                       'shards_num': 16},
                                 'resource_groups_params': {'reset': False},
                                 'database_user_params': {'reset_rbac': False, 'reset_db': False},
                                 'index_params': {'index_type': 'IVF_SQ8', 'index_param': {'nlist': 1024}},
                                 'concurrent_params': {'concurrent_number': 30, 'during_time': '3h', 'interval': 20, 'spawn_rate': None},
                                 'concurrent_tasks': [{'type': 'scene_insert_partition',
                                                       'weight': 1,
                                                       'params': {'data_size': 3000, 'ni': 1000, 'with_flush': True, 'timeout': 600}},
                                                      {'type': 'scene_test_partition',
                                                       'weight': 1,
                                                       'params': {'data_size': 3000,
                                                                  'ni': 3000,
                                                                  'nq': 1,
                                                                  'search_param': {'nprobe': 64},
                                                                  'limit': 1,
                                                                  'expr': None,
                                                                  'output_fields': ['*'],
                                                                  'guarantee_timestamp': None,
                                                                  'timeout': 600}},
                                                      {'type': 'scene_test_partition_hybrid_search',
                                                       'weight': 1,
                                                       'params': {'nq': 1,
                                                                  'top_k': 1,
                                                                  'reqs': [{'search_param': {'nprobe': 128}, 'anns_field': 'float_vector', 'top_k': 100},
                                                                           {'search_param': {'ef': 64}, 'anns_field': 'float_vector_1', 'top_k': 10}],
                                                                  'rerank': {'RRFRanker': []},
                                                                  'output_fields': ['*'],
                                                                  'ignore_growing': False,
                                                                  'guarantee_timestamp': None,
                                                                  'timeout': 600,
                                                                  'random_data': True,
                                                                  'data_size': 3000,
                                                                  'ni': 3000}},
                                                      {'type': 'search',
                                                       'weight': 1,
                                                       'params': {'nq': 1000,
                                                                  'top_k': 10,
                                                                  'search_param': {'nprobe': 16},
                                                                  'expr': 'int8_1 == 100',
                                                                  'guarantee_timestamp': None,
                                                                  'partition_names': ['_default', 'partition_1', 'partition_2', 'partition_3', 'partition_4',
                                                                                      'partition_5', 'partition_6', 'partition_7', 'partition_8',
                                                                                      'partition_9'],
                                                                  'output_fields': ['id', 'float_vector', 'int64_1'],
                                                                  'ignore_growing': False,
                                                                  'group_by_field': None,
                                                                  'timeout': None,
                                                                  'random_data': True,
                                                                  'check_task': 'check_search_output',
                                                                  'check_items': None}},
                                                      {'type': 'query',
                                                       'weight': 1,
                                                       'params': {'ids': None,
                                                                  'expr': 'int64_1 > -1',
                                                                  'output_fields': ['*'],
                                                                  'offset': None,
                                                                  'limit': 10,
                                                                  'ignore_growing': False,
                                                                  'partition_names': ['_default', 'partition_1', 'partition_2', 'partition_3', 'partition_4',
                                                                                      'partition_5', 'partition_6', 'partition_7', 'partition_8',
                                                                                      'partition_9'],
                                                                  'timeout': None,
                                                                  'random_data': False,
                                                                  'random_count': 0,
                                                                  'random_range': [0, 1],
                                                                  'field_name': 'id',
                                                                  'field_type': 'int64',
                                                                  'check_task': 'check_query_output',
                                                                  'check_items': {'expect_length': 10}}},
                                                      {'type': 'hybrid_search',
                                                       'weight': 1,
                                                       'params': {'nq': 10,
                                                                  'top_k': 10,
                                                                  'reqs': [{'search_param': {'nprobe': 128},
                                                                            'anns_field': 'float_vector',
                                                                            'expr': '(array_contains_any(array_int32_1, [0]) || array_contains(array_int64_1, '
                                                                                    '1)) || ((varchar_1 like "1%") and (bool_1 == True))',
                                                                            'top_k': 100},
                                                                           {'search_param': {'ef': 64},
                                                                            'anns_field': 'float_vector_1',
                                                                            'expr': 'not (int16_1 == int8_1) && ARRAY_CONTAINS_ANY(array_int64_1, [-1, 0, '
                                                                                    '1])'}],
                                                                  'rerank': {'RRFRanker': []},
                                                                  'output_fields': ['*'],
                                                                  'ignore_growing': False,
                                                                  'guarantee_timestamp': None,
                                                                  'partition_names': ['_default', 'partition_1', 'partition_2', 'partition_3', 'partition_4',
                                                                                      'partition_5', 'partition_6', 'partition_7', 'partition_8',
                                                                                      'partition_9'],
                                                                  'timeout': None,
                                                                  'random_data': True,
                                                                  'check_task': 'check_search_output',
                                                                  'check_items': {'output_fields': ['float_vector_1', 'int8_1', 'int16_1', 'int32_1', 'int64_1',
                                                                                                    'varchar_1', 'bool_1', 'array_int8_1', 'array_int16_1',
                                                                                                    'array_int32_1', 'array_int64_1', 'array_varchar_1',
                                                                                                    'array_bool_1', 'id', 'float_vector'],
                                                                                  'nq': 10}}},
                                                      {'type': 'load',
                                                       'weight': 1,
                                                       'params': {'replica_number': 1, 'timeout': 180, 'check_task': 'check_response', 'check_items': None}}]},
            'run_id': 2024081966208232,
            'datetime': '2024-08-19 11:23:40.969542',
            'client_version': '2.5'},
 'result': {'test_result': {'index': {'RT': 4002.9575,
                                      'float_vector_1': {'RT': 4.0571},
                                      'int8_1': {'RT': 1.0197},
                                      'int16_1': {'RT': 1.0194},
                                      'int32_1': {'RT': 2.0347},
                                      'int64_1': {'RT': 1.0226},
                                      'varchar_1': {'RT': 0.5158},
                                      'bool_1': {'RT': 0.5168},
                                      'array_int8_1': {'RT': 0.5185},
                                      'array_int16_1': {'RT': 0.5159},
                                      'array_int32_1': {'RT': 0.5147},
                                      'array_int64_1': {'RT': 0.5147},
                                      'array_varchar_1': {'RT': 0.5146},
                                      'array_bool_1': {'RT': 0.517}},
                            'insert': {'total_time': 507.6426, 'VPS': 9872.0303, 'batch_time': 0.5077, 'batch': 5000.0},
                            'flush': {'RT': 7.9106},
                            'load': {'RT': 8.5945},
                            'Locust': {'Aggregated': {'Requests': 1693,
                                                      'Fails': 73,
                                                      'RPS': 0.16,
                                                      'fail_s': 0.04,
                                                      'RT_max': 1572737.58,
                                                      'RT_avg': 186416.65,
                                                      'TP50': 3700.0,
                                                      'TP99': 1342000.0},
                                       'hybrid_search': {'Requests': 261,
                                                         'Fails': 1,
                                                         'RPS': 0.02,
                                                         'fail_s': 0.0,
                                                         'RT_max': 9568.96,
                                                         'RT_avg': 1209.93,
                                                         'TP50': 780.0,
                                                         'TP99': 7600.0},
                                       'load': {'Requests': 256,
                                                'Fails': 0,
                                                'RPS': 0.02,
                                                'fail_s': 0.0,
                                                'RT_max': 15566.37,
                                                'RT_avg': 3673.68,
                                                'TP50': 3100.0,
                                                'TP99': 13000.0},
                                       'query': {'Requests': 234,
                                                 'Fails': 0,
                                                 'RPS': 0.02,
                                                 'fail_s': 0.0,
                                                 'RT_max': 6847.05,
                                                 'RT_avg': 308.16,
                                                 'TP50': 32,
                                                 'TP99': 6500.0},
                                       'scene_insert_partition': {'Requests': 234,
                                                                  'Fails': 20,
                                                                  'RPS': 0.02,
                                                                  'fail_s': 0.09,
                                                                  'RT_max': 181519.71,
                                                                  'RT_avg': 31666.35,
                                                                  'TP50': 31000.0,
                                                                  'TP99': 123000.0},
                                       'scene_test_partition': {'Requests': 237,
                                                                'Fails': 29,
                                                                'RPS': 0.02,
                                                                'fail_s': 0.12,
                                                                'RT_max': 1370920.31,
                                                                'RT_avg': 618821.95,
                                                                'TP50': 696000.0,
                                                                'TP99': 1370000.0},
                                       'scene_test_partition_hybrid_search': {'Requests': 244,
                                                                              'Fails': 23,
                                                                              'RPS': 0.02,
                                                                              'fail_s': 0.09,
                                                                              'RT_max': 1572737.58,
                                                                              'RT_avg': 654852.18,
                                                                              'TP50': 695000.0,
                                                                              'TP99': 1373000.0},
                                       'search': {'Requests': 227,
                                                  'Fails': 0,
                                                  'RPS': 0.02,
                                                  'fail_s': 0.0,
                                                  'RT_max': 10412.98,
                                                  'RT_avg': 1851.8,
                                                  'TP50': 1300.0,
                                                  'TP99': 10000.0}}}}}

Expected Behavior

birdwtacher:

Milvus(by-dev) > show partition --collection 451953729245282874
Parition ID: 451953729245282875 Name: _default  State: PartitionCreated
Parition ID: 451953729246083598 Name: partition_1   State: PartitionCreated
Parition ID: 451953729246684203 Name: partition_2   State: PartitionCreated
Parition ID: 451953729247084810 Name: partition_3   State: PartitionCreated
Parition ID: 451953729247685462 Name: partition_4   State: PartitionCreated
Parition ID: 451953729248086153 Name: partition_5   State: PartitionCreated
Parition ID: 451953729248686839 Name: partition_6   State: PartitionCreated
Parition ID: 451953729249087552 Name: partition_7   State: PartitionCreated
Parition ID: 451953729249688277 Name: partition_8   State: PartitionCreated
Parition ID: 451953729250289034 Name: partition_9   State: PartitionCreated
Parition ID: 451953729251723849 Name: scene_insert_partition_2LNDUlLa   State: PartitionDropping
Parition ID: 451953729251723853 Name: scene_test_partition_hybrid_search_UT1KK7L9   State: PartitionCreated
Parition ID: 451953729251723857 Name: scene_test_partition_PwNROsR0 State: PartitionCreated
Parition ID: 451953729251723983 Name: scene_insert_partition_Z0K1ZbLl   State: PartitionDropping
Parition ID: 451953729251723995 Name: scene_insert_partition_GFKVG51R   State: PartitionDropping
Parition ID: 451953729251724153 Name: scene_test_partition_LNBcQVjY State: PartitionCreated
Parition ID: 451953729251724163 Name: scene_insert_partition_9tkZQ0w7   State: PartitionDropping
Parition ID: 451953729251724340 Name: scene_test_partition_O60wYjKD State: PartitionCreated
Parition ID: 451953729251724346 Name: scene_insert_partition_b4HDdUZX   State: PartitionDropping
Parition ID: 451953729251724355 Name: scene_test_partition_vIvUCIXx State: PartitionCreated
Parition ID: 451953729251724371 Name: scene_test_partition_eysRXKwR State: PartitionCreated
Parition ID: 451953729251724694 Name: scene_test_partition_hybrid_search_Z0cOg0GS   State: PartitionCreated
Parition ID: 451953729251930144 Name: scene_test_partition_hybrid_search_FtaD5x4d   State: PartitionCreated
Parition ID: 451953729251936303 Name: scene_test_partition_hybrid_search_0s8Z61ZS   State: PartitionCreated
Parition ID: 451953729251939599 Name: scene_test_partition_xeB8l9YU State: PartitionCreated
Parition ID: 451953729251940513 Name: scene_test_partition_rdtj0lfU State: PartitionCreated
Parition ID: 451953729251941038 Name: scene_test_partition_hybrid_search_bZE5hUrb   State: PartitionCreated
Parition ID: 451953729251947274 Name: scene_test_partition_AqqKxk3G State: PartitionCreated
Parition ID: 451953729251947351 Name: scene_test_partition_dgBfIEWU State: PartitionCreated
Parition ID: 451953729251952107 Name: scene_test_partition_hybrid_search_bTKg4IoJ   State: PartitionCreated
Parition ID: 451953729251952654 Name: scene_test_partition_WSCNrJiQ State: PartitionCreated
Parition ID: 451953729251955638 Name: scene_test_partition_hybrid_search_VPFVda1X   State: PartitionCreated
Parition ID: 451953729252161511 Name: scene_test_partition_B0tlEueo State: PartitionCreated
Parition ID: 451953729252384292 Name: scene_test_partition_KOodrHBD State: PartitionCreated
Parition ID: 451953729252385200 Name: scene_test_partition_IbjAjdQB State: PartitionCreated
Parition ID: 451953729252387412 Name: scene_test_partition_0jO0S7Tj State: PartitionCreated
Parition ID: 451953729252388544 Name: scene_test_partition_9GiF7WGz State: PartitionCreated
Parition ID: 451953729252388665 Name: scene_test_partition_FCN2K5Ud State: PartitionCreated
Parition ID: 451953729252389970 Name: scene_test_partition_NCpr2l0M State: PartitionCreated
Parition ID: 451953729252396575 Name: scene_test_partition_eKfUTG4B State: PartitionCreated
Parition ID: 451953729252396637 Name: scene_test_partition_hybrid_search_yyPP8PdY   State: PartitionCreated
Parition ID: 451953729252397464 Name: scene_test_partition_hybrid_search_DRhD06xZ   State: PartitionCreated
Parition ID: 451953729252398971 Name: scene_test_partition_FqXJdShG State: PartitionCreated
Parition ID: 451953729252406101 Name: scene_test_partition_hybrid_search_VPBYcbqh   State: PartitionCreated
Parition ID: 451953729252406116 Name: scene_insert_partition_FxYQMIoI   State: PartitionCreated
Parition ID: 451953729252409818 Name: scene_test_partition_1my8wuzR State: PartitionCreated
Parition ID: 451953729252633569 Name: scene_insert_partition_vw7uvGZ2   State: PartitionCreated
Parition ID: 451953729252633692 Name: scene_test_partition_FC0scNNo State: PartitionCreated
Parition ID: 451953729252872432 Name: scene_test_partition_57JDAPMt State: PartitionCreated
Parition ID: 451953729252872472 Name: scene_test_partition_hybrid_search_FmK4IHbw   State: PartitionCreated
Parition ID: 451953729252874044 Name: scene_test_partition_hybrid_search_OumJTEnZ   State: PartitionCreated
Parition ID: 451953729252876381 Name: scene_insert_partition_ZdDxoGWx   State: PartitionCreated
Parition ID: 451953729252892033 Name: scene_test_partition_VOPa4LEP State: PartitionCreated
Parition ID: 451953729252906231 Name: scene_insert_partition_Zayeyngs   State: PartitionCreated
Parition ID: 451953729253107025 Name: scene_insert_partition_53vDpuPE   State: PartitionCreated
Parition ID: 451953729253107277 Name: scene_insert_partition_kTX8qWlF   State: PartitionCreated
Parition ID: 451953729253126370 Name: scene_insert_partition_l89oFE6s   State: PartitionCreated
Parition ID: 451953729253126413 Name: scene_test_partition_hybrid_search_GwLVuFpH   State: PartitionCreated
Parition ID: 451953729253126526 Name: scene_test_partition_hybrid_search_Xd1xAUiO   State: PartitionCreated
Parition ID: 451953729253150115 Name: scene_insert_partition_Z6XcFcAw   State: PartitionCreated
Parition ID: 451953729253369338 Name: scene_test_partition_hybrid_search_WT7tIOzQ   State: PartitionCreated
Parition ID: 451953729253371022 Name: scene_insert_partition_Hw7gd80y   State: PartitionCreated
Parition ID: 451953729253371322 Name: scene_insert_partition_IrlWKc1o   State: PartitionCreated
Parition ID: 451953729253372197 Name: scene_insert_partition_r9Xr3wOL   State: PartitionCreated
Parition ID: 451953729253372978 Name: scene_test_partition_hybrid_search_jI76yaq1   State: PartitionCreated
Parition ID: 451953729253373252 Name: scene_test_partition_4lBbxxDm State: PartitionCreated
Parition ID: 451953729253411020 Name: scene_insert_partition_uYsLKDgq   State: PartitionCreated
Parition ID: 451953729253411033 Name: scene_test_partition_hybrid_search_lkemTltA   State: PartitionCreated
Parition ID: 451953729253412166 Name: scene_insert_partition_YkicSEv2   State: PartitionCreated
Parition ID: 451953729253614246 Name: scene_test_partition_hybrid_search_3vpvNUPO   State: PartitionCreated
Parition ID: 451953729253814598 Name: scene_test_partition_1t1YtzGZ State: PartitionCreated
Parition ID: 451953729253815813 Name: scene_test_partition_hybrid_search_sAV6KTbA   State: PartitionCreated
Parition ID: 451953729253816591 Name: scene_test_partition_uX93KUmx State: PartitionCreated
Parition ID: 451953729253839493 Name: scene_insert_partition_zF9IoHe1   State: PartitionCreated
Parition ID: 451953729253839646 Name: scene_insert_partition_z3X2Lzf0   State: PartitionCreated
Parition ID: 451953729253841969 Name: scene_insert_partition_HjnN4pVD   State: PartitionCreated
Parition ID: 451953729253863611 Name: scene_insert_partition_LXdFEVNA   State: PartitionCreated
Parition ID: 451953729254103495 Name: scene_test_partition_20iidht1 State: PartitionCreated
Parition ID: 451953729254103594 Name: scene_test_partition_hybrid_search_wkdaBujx   State: PartitionCreated
Parition ID: 451953729254104838 Name: scene_test_partition_Ld5rUEMN State: PartitionCreated
Parition ID: 451953729254104853 Name: scene_test_partition_hybrid_search_XU3losgY   State: PartitionCreated
Parition ID: 451953729254155661 Name: scene_test_partition_8vmmFRG5 State: PartitionCreated
Parition ID: 451953729254157181 Name: scene_test_partition_hybrid_search_8wV1wBIc   State: PartitionCreated
Parition ID: 451953729254376669 Name: scene_insert_partition_WbZpmt69   State: PartitionCreated
Parition ID: 451953729254421038 Name: scene_test_partition_hybrid_search_TPkUL80C   State: PartitionCreated
Parition ID: 451953729254638290 Name: scene_insert_partition_QYtP4yPK   State: PartitionCreated
Parition ID: 451953729254690315 Name: scene_test_partition_p8qCZqed State: PartitionCreated
Parition ID: 451953729254690391 Name: scene_test_partition_dAoSBBCf State: PartitionCreated
Parition ID: 451953729254690450 Name: scene_test_partition_fpkv9atD State: PartitionCreated
Parition ID: 451953729254690454 Name: scene_test_partition_aySFLhqi State: PartitionCreated
Parition ID: 451953729254690544 Name: scene_test_partition_8v2FcFAb State: PartitionCreated
Parition ID: 451953729254690673 Name: scene_test_partition_hybrid_search_9jH419cR   State: PartitionCreated
Parition ID: 451953729254690899 Name: scene_test_partition_KuWDmDEC State: PartitionCreated
Parition ID: 451953729254691313 Name: scene_test_partition_hybrid_search_7PpH9xGm   State: PartitionCreated
Parition ID: 451953729254691421 Name: scene_test_partition_hybrid_search_9TzK6xis   State: PartitionCreated
Parition ID: 451953729254691476 Name: scene_test_partition_hybrid_search_Fg6V5UE8   State: PartitionCreated
Parition ID: 451953729254691989 Name: scene_test_partition_a1RbpVCG State: PartitionCreated
Parition ID: 451953729254692070 Name: scene_test_partition_iRXxTL9q State: PartitionCreated
Parition ID: 451953729254692383 Name: scene_test_partition_hybrid_search_xjjR2W0s   State: PartitionCreated
Parition ID: 451953729254693237 Name: scene_test_partition_0haXcOfn State: PartitionCreated
Parition ID: 451953729254703618 Name: scene_test_partition_JobN6jnq State: PartitionCreated
Parition ID: 451953729254704050 Name: scene_test_partition_hybrid_search_NgjlTZMo   State: PartitionCreated
Parition ID: 451953729254704339 Name: scene_test_partition_beSrQhME State: PartitionCreated
Parition ID: 451953729254704424 Name: scene_test_partition_txuyE7bo State: PartitionCreated
Parition ID: 451953729254704433 Name: scene_test_partition_dmBDqq7H State: PartitionCreated
Parition ID: 451953729254704747 Name: scene_test_partition_bZTG4SHr State: PartitionCreated
Parition ID: 451953729254704940 Name: scene_test_partition_4pTQbA06 State: PartitionCreated
Parition ID: 451953729254704964 Name: scene_test_partition_w0OUi6nx State: PartitionCreated
Parition ID: 451953729254705358 Name: scene_insert_partition_J6G887nZ   State: PartitionCreated
Parition ID: 451953729254706364 Name: scene_test_partition_hybrid_search_T29lRMnL   State: PartitionCreated
Parition ID: 451953729254706370 Name: scene_test_partition_hybrid_search_oYZaGjRJ   State: PartitionCreated
Parition ID: 451953729254706534 Name: scene_test_partition_s1AOx0UP State: PartitionCreated
Parition ID: 451953729254707068 Name: scene_test_partition_AWalgTCn State: PartitionCreated
Parition ID: 451953729254707219 Name: scene_insert_partition_Zmn3hpvr   State: PartitionCreated
Parition ID: 451953729254707225 Name: scene_insert_partition_rDVUVRzC   State: PartitionCreated
Parition ID: 451953729254707719 Name: scene_insert_partition_e8oD8Stt   State: PartitionCreated
Parition ID: 451953729254707818 Name: scene_test_partition_38uWbZKe State: PartitionCreated
--- Total Partition(s): 117

Steps To Reproduce

concurrent test and calculation of RT and QPS

        :purpose:  `primary key: INT64`, divided into 10 partitions
            1. building `BITMAP` index on all supported 12 scalar fields
            2. 2 fields of different vector types
            3. load and search partial partitions & DQL requests

        :test steps:
            1. create collection with fields:
                'float_vector': 128dim
                'float_vector_1': 768dim
                'id': primary key type is INT64

                all scalar fields: varchar max_length=100, array max_capacity=13
            2. build indexes:
                IVF_SQ8: 'float_vector'
                HNSW: 'float_vector_1'
                BITMAP: all scalar fields
            3. insert 5 million data
            4. flush collection
            5. build indexes again using the same params
            6. load collection
            7. concurrent request:
                - scene_insert_partition
                    (partition: create->insert->flush->release->drop)
                - scene_test_partition
                    (partition: create->insert->flush->index again->load->search->release->search failed->drop)
                - scene_test_partition_hybrid_search
                    (partition: create->insert->flush->index again->load->hybrid_search->release->hybrid_search failed->drop)
                - search
                - query
                - hybrid_search
                - load

Milvus Log

No response

Anything else?

No response

wangting0128 commented 2 months ago

After receiving the request to drop the partition, milvus performs GetIndexInfos, GetIndexInfos will load the released partition again, which will cause an error when dropping the partition: partition cannot be dropped, partition is loaded

{pod=~"bitmap-dql-dml-partitions-milvus-standalone-697bbd944-gmhm6"} |~ "5042adfc26aeaba15778f4cddc08012e|scene_test_partition_LNBcQVjY"

image image

yanliang567 commented 2 months ago

/assign @longjiquan /unassign

longjiquan commented 2 months ago

Concurrent load/release/drop caused this issue. /unassign /assign @wangting0128

longjiquan commented 2 months ago

image

xiaofan-luan commented 2 months ago

image

shall this be in a queue to execute? @longjiquan

wangting0128 commented 2 months ago

Remove load collection and verification passed

test result:

[2024-08-22 12:18:41,247 -  INFO - fouram]: Print locust final stats. (locust_runner.py:56)
[2024-08-22 12:18:41,247 -  INFO - fouram]: Type     Name                                                                          # reqs      # fails |    Avg     Min     Max    Med |   req/s  failures/s (stats.py:789)
[2024-08-22 12:18:41,247 -  INFO - fouram]: --------|----------------------------------------------------------------------------|-------|-------------|-------|-------|-------|-------|--------|----------- (stats.py:789)
[2024-08-22 12:18:41,248 -  INFO - fouram]: grpc     hybrid_search                                                                    214     0(0.00%) |   3490     617   32145   2000 |    0.02        0.00 (stats.py:789)
[2024-08-22 12:18:41,248 -  INFO - fouram]: grpc     query                                                                            210     0(0.00%) |   1632      13    9759    650 |    0.02        0.00 (stats.py:789)
[2024-08-22 12:18:41,248 -  INFO - fouram]: grpc     scene_insert_partition                                                           237     0(0.00%) |  59806    3670  153865  56000 |    0.02        0.00 (stats.py:789)
[2024-08-22 12:18:41,248 -  INFO - fouram]: grpc     scene_test_partition                                                             228     0(0.00%) | 637299   71412 1642622 616000 |    0.02        0.00 (stats.py:789)
[2024-08-22 12:18:41,248 -  INFO - fouram]: grpc     scene_test_partition_hybrid_search                                               222     0(0.00%) | 697161   57983 1664454 665000 |    0.02        0.00 (stats.py:789)
[2024-08-22 12:18:41,248 -  INFO - fouram]: grpc     search                                                                           244     0(0.00%) |   3895     927   32528   2400 |    0.02        0.00 (stats.py:789)
[2024-08-22 12:18:41,248 -  INFO - fouram]: --------|----------------------------------------------------------------------------|-------|-------------|-------|-------|-------|-------|--------|----------- (stats.py:789)
[2024-08-22 12:18:41,248 -  INFO - fouram]:          Aggregated                                                                      1355     0(0.00%) | 233423      13 1664454  11000 |    0.13        0.00 (stats.py:789)
[2024-08-22 12:18:41,248 -  INFO - fouram]:  (stats.py:790)
[2024-08-22 12:18:41,252 -  INFO - fouram]: [PerfTemplate] Report data: 
{'server': {'deploy_tool': 'helm',
            'deploy_mode': 'standalone',
            'config_name': 'standalone_8c16m',
            'config': {'standalone': {'resources': {'limits': {'cpu': '16', 'memory': '64Gi'}, 'requests': {'cpu': '5.0', 'memory': '5Gi'}}},
                       'cluster': {'enabled': False},
                       'etcd': {'replicaCount': 1, 'metrics': {'enabled': True, 'podMonitor': {'enabled': True}}},
                       'minio': {'mode': 'standalone', 'metrics': {'podMonitor': {'enabled': True}}},
                       'pulsar': {'enabled': False},
                       'metrics': {'serviceMonitor': {'enabled': True}},
                       'log': {'level': 'debug'},
                       'indexNode': {'replicas': 2},
                       'queryNode': {'replicas': 2},
                       'image': {'all': {'repository': 'harbor.milvus.io/milvus/milvus', 'tag': 'master-20240822-3107701f-amd64'}}},
            'host': 'bitmap-dql-dml-partitions-rerun-milvus.qa-milvus.svc.cluster.local',
            'port': '19530',
            'uri': ''},
 'client': {'test_case_type': 'ConcurrentClientBase',
            'test_case_name': 'test_bitmap_locust_dql_dml_partitions_cluster',
            'test_case_params': {'dataset_params': {'metric_type': 'L2',
                                                    'dim': 128,
                                                    'max_length': 100,
                                                    'scalars_index': {'int8_1': {'index_type': 'BITMAP'},
                                                                      'int16_1': {'index_type': 'BITMAP'},
                                                                      'int32_1': {'index_type': 'BITMAP'},
                                                                      'int64_1': {'index_type': 'BITMAP'},
                                                                      'varchar_1': {'index_type': 'BITMAP'},
                                                                      'bool_1': {'index_type': 'BITMAP'},
                                                                      'array_int8_1': {'index_type': 'BITMAP'},
                                                                      'array_int16_1': {'index_type': 'BITMAP'},
                                                                      'array_int32_1': {'index_type': 'BITMAP'},
                                                                      'array_int64_1': {'index_type': 'BITMAP'},
                                                                      'array_varchar_1': {'index_type': 'BITMAP'},
                                                                      'array_bool_1': {'index_type': 'BITMAP'}},
                                                    'vectors_index': {'float_vector_1': {'index_type': 'HNSW',
                                                                                         'index_param': {'M': 8, 'efConstruction': 200},
                                                                                         'metric_type': 'L2'}},
                                                    'scalars_params': {'array_int8_1': {'params': {'max_capacity': 13},
                                                                                        'other_params': {'dataset': 'random_algorithm',
                                                                                                         'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                              'specify_range': [-128, 128],
                                                                                                                              'max_capacity': 13}}},
                                                                       'array_int16_1': {'params': {'max_capacity': 13},
                                                                                         'other_params': {'dataset': 'random_algorithm',
                                                                                                          'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                               'specify_range': [-200, 200],
                                                                                                                               'max_capacity': 13}}},
                                                                       'array_int32_1': {'params': {'max_capacity': 13},
                                                                                         'other_params': {'dataset': 'random_algorithm',
                                                                                                          'algorithm_params': {'algorithm_name': 'specify_scope',
                                                                                                                               'specify_range': [-300, 300],
                                                                                                                               'max_capacity': 13}}},
                                                                       'array_int64_1': {'params': {'max_capacity': 13},
                                                                                         'other_params': {'dataset': 'random_algorithm',
                                                                                                          'algorithm_params': {'algorithm_name': 'fixed_value_range',
                                                                                                                               'specify_range': [-400, 432],
                                                                                                                               'batch': 50,
                                                                                                                               'max_capacity': 13}}},
                                                                       'array_varchar_1': {'params': {'max_capacity': 13},
                                                                                           'other_params': {'dataset': 'random_algorithm',
                                                                                                            'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                                 'specify_range': [-1500, 1500],
                                                                                                                                 'max_capacity': 13}}},
                                                                       'array_bool_1': {'params': {'max_capacity': 13}},
                                                                       'int8_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                   'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                        'specify_range': [-128, 128],
                                                                                                                        'max_capacity': 13}}},
                                                                       'int16_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                    'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                         'specify_range': [-200, 200],
                                                                                                                         'max_capacity': 13}}},
                                                                       'int32_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                    'algorithm_params': {'algorithm_name': 'specify_scope',
                                                                                                                         'specify_range': [-300, 300],
                                                                                                                         'max_capacity': 13}}},
                                                                       'int64_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                    'algorithm_params': {'algorithm_name': 'fixed_value_range',
                                                                                                                         'specify_range': [-400, 432],
                                                                                                                         'batch': 50,
                                                                                                                         'max_capacity': 13}}},
                                                                       'varchar_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                      'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                           'specify_range': [-1500, 1500],
                                                                                                                           'max_capacity': 13}}}},
                                                    'extra_partitions': {'partitions': ['_default', 'partition_1', 'partition_2', 'partition_3', 'partition_4',
                                                                                        'partition_5', 'partition_6', 'partition_7', 'partition_8',
                                                                                        'partition_9'],
                                                                         'data_repeated': False},
                                                    'dataset_name': 'sift',
                                                    'dataset_size': 5000000,
                                                    'ni_per': 5000},
                                 'collection_params': {'other_fields': ['float_vector_1', 'int8_1', 'int16_1', 'int32_1', 'int64_1', 'varchar_1', 'bool_1',
                                                                        'array_int8_1', 'array_int16_1', 'array_int32_1', 'array_int64_1', 'array_varchar_1',
                                                                        'array_bool_1'],
                                                       'shards_num': 16},
                                 'resource_groups_params': {'reset': False},
                                 'database_user_params': {'reset_rbac': False, 'reset_db': False},
                                 'index_params': {'index_type': 'IVF_SQ8', 'index_param': {'nlist': 1024}},
                                 'concurrent_params': {'concurrent_number': 30, 'during_time': '3h', 'interval': 20, 'spawn_rate': None},
                                 'concurrent_tasks': [{'type': 'scene_insert_partition',
                                                       'weight': 1,
                                                       'params': {'data_size': 3000, 'ni': 1000, 'with_flush': True, 'timeout': 600}},
                                                      {'type': 'scene_test_partition',
                                                       'weight': 1,
                                                       'params': {'data_size': 3000,
                                                                  'ni': 3000,
                                                                  'nq': 1,
                                                                  'search_param': {'nprobe': 64},
                                                                  'limit': 1,
                                                                  'expr': None,
                                                                  'output_fields': ['*'],
                                                                  'guarantee_timestamp': None,
                                                                  'timeout': 600}},
                                                      {'type': 'scene_test_partition_hybrid_search',
                                                       'weight': 1,
                                                       'params': {'nq': 1,
                                                                  'top_k': 1,
                                                                  'reqs': [{'search_param': {'nprobe': 128}, 'anns_field': 'float_vector', 'top_k': 100},
                                                                           {'search_param': {'ef': 64}, 'anns_field': 'float_vector_1', 'top_k': 10}],
                                                                  'rerank': {'RRFRanker': []},
                                                                  'output_fields': ['*'],
                                                                  'ignore_growing': False,
                                                                  'guarantee_timestamp': None,
                                                                  'timeout': 600,
                                                                  'random_data': True,
                                                                  'data_size': 3000,
                                                                  'ni': 3000}},
                                                      {'type': 'search',
                                                       'weight': 1,
                                                       'params': {'nq': 1000,
                                                                  'top_k': 10,
                                                                  'search_param': {'nprobe': 16},
                                                                  'expr': 'int8_1 == 100',
                                                                  'guarantee_timestamp': None,
                                                                  'partition_names': ['_default', 'partition_1', 'partition_2', 'partition_3', 'partition_4',
                                                                                      'partition_5', 'partition_6', 'partition_7', 'partition_8',
                                                                                      'partition_9'],
                                                                  'output_fields': ['id', 'float_vector', 'int64_1'],
                                                                  'ignore_growing': False,
                                                                  'group_by_field': None,
                                                                  'timeout': None,
                                                                  'random_data': True,
                                                                  'check_task': 'check_search_output',
                                                                  'check_items': None}},
                                                      {'type': 'query',
                                                       'weight': 1,
                                                       'params': {'ids': None,
                                                                  'expr': 'int64_1 > -1',
                                                                  'output_fields': ['*'],
                                                                  'offset': None,
                                                                  'limit': 10,
                                                                  'ignore_growing': False,
                                                                  'partition_names': ['_default', 'partition_1', 'partition_2', 'partition_3', 'partition_4',
                                                                                      'partition_5', 'partition_6', 'partition_7', 'partition_8',
                                                                                      'partition_9'],
                                                                  'timeout': None,
                                                                  'random_data': False,
                                                                  'random_count': 0,
                                                                  'random_range': [0, 1],
                                                                  'field_name': 'id',
                                                                  'field_type': 'int64',
                                                                  'check_task': 'check_query_output',
                                                                  'check_items': {'expect_length': 10}}},
                                                      {'type': 'hybrid_search',
                                                       'weight': 1,
                                                       'params': {'nq': 10,
                                                                  'top_k': 10,
                                                                  'reqs': [{'search_param': {'nprobe': 128},
                                                                            'anns_field': 'float_vector',
                                                                            'expr': '(array_contains_any(array_int32_1, [0]) || array_contains(array_int64_1, '
                                                                                    '1)) || ((varchar_1 like "1%") and (bool_1 == True))',
                                                                            'top_k': 100},
                                                                           {'search_param': {'ef': 64},
                                                                            'anns_field': 'float_vector_1',
                                                                            'expr': 'not (int16_1 == int8_1) && ARRAY_CONTAINS_ANY(array_int64_1, [-1, 0, '
                                                                                    '1])'}],
                                                                  'rerank': {'RRFRanker': []},
                                                                  'output_fields': ['*'],
                                                                  'ignore_growing': False,
                                                                  'guarantee_timestamp': None,
                                                                  'partition_names': ['_default', 'partition_1', 'partition_2', 'partition_3', 'partition_4',
                                                                                      'partition_5', 'partition_6', 'partition_7', 'partition_8',
                                                                                      'partition_9'],
                                                                  'timeout': None,
                                                                  'random_data': True,
                                                                  'check_task': 'check_search_output',
                                                                  'check_items': {'output_fields': ['float_vector_1', 'int8_1', 'int16_1', 'int32_1', 'int64_1',
                                                                                                    'varchar_1', 'bool_1', 'array_int8_1', 'array_int16_1',
                                                                                                    'array_int32_1', 'array_int64_1', 'array_varchar_1',
                                                                                                    'array_bool_1', 'id', 'float_vector'],
                                                                                  'nq': 10}}}]},
            'run_id': 2024082234653923,
            'datetime': '2024-08-22 07:57:45.054286',
            'client_version': '2.2'},
 'result': {'test_result': {'index': {'RT': 3827.4489,
                                      'float_vector_1': {'RT': 7.1541},
                                      'int8_1': {'RT': 0.5183},
                                      'int16_1': {'RT': 0.5222},
                                      'int32_1': {'RT': 2.0356},
                                      'int64_1': {'RT': 0.8006},
                                      'varchar_1': {'RT': 0.5181},
                                      'bool_1': {'RT': 0.5166},
                                      'array_int8_1': {'RT': 0.5271},
                                      'array_int16_1': {'RT': 0.5215},
                                      'array_int32_1': {'RT': 0.5197},
                                      'array_int64_1': {'RT': 0.5219},
                                      'array_varchar_1': {'RT': 0.5362},
                                      'array_bool_1': {'RT': 0.5193}},
                            'insert': {'total_time': 638.9451, 'VPS': 8142.8233, 'batch_time': 0.639, 'batch': 5000.0},
                            'flush': {'RT': 6.0304},
                            'load': {'RT': 8.7945},
                            'Locust': {'Aggregated': {'Requests': 1355,
                                                      'Fails': 0,
                                                      'RPS': 0.13,
                                                      'fail_s': 0.0,
                                                      'RT_max': 1664454.35,
                                                      'RT_avg': 233423.53,
                                                      'TP50': 11000.0,
                                                      'TP99': 1600000.0},
                                       'hybrid_search': {'Requests': 214,
                                                         'Fails': 0,
                                                         'RPS': 0.02,
                                                         'fail_s': 0.0,
                                                         'RT_max': 32145.93,
                                                         'RT_avg': 3490.77,
                                                         'TP50': 2000.0,
                                                         'TP99': 31000.0},
                                       'query': {'Requests': 210,
                                                 'Fails': 0,
                                                 'RPS': 0.02,
                                                 'fail_s': 0.0,
                                                 'RT_max': 9759.9,
                                                 'RT_avg': 1632.76,
                                                 'TP50': 650.0,
                                                 'TP99': 8900.0},
                                       'scene_insert_partition': {'Requests': 237,
                                                                  'Fails': 0,
                                                                  'RPS': 0.02,
                                                                  'fail_s': 0.0,
                                                                  'RT_max': 153865.29,
                                                                  'RT_avg': 59806.9,
                                                                  'TP50': 56000.0,
                                                                  'TP99': 141000.0},
                                       'scene_test_partition': {'Requests': 228,
                                                                'Fails': 0,
                                                                'RPS': 0.02,
                                                                'fail_s': 0.0,
                                                                'RT_max': 1642622.74,
                                                                'RT_avg': 637299.37,
                                                                'TP50': 617000.0,
                                                                'TP99': 1582000.0},
                                       'scene_test_partition_hybrid_search': {'Requests': 222,
                                                                              'Fails': 0,
                                                                              'RPS': 0.02,
                                                                              'fail_s': 0.0,
                                                                              'RT_max': 1664454.35,
                                                                              'RT_avg': 697161.62,
                                                                              'TP50': 665000.0,
                                                                              'TP99': 1659000.0},
                                       'search': {'Requests': 244,
                                                  'Fails': 0,
                                                  'RPS': 0.02,
                                                  'fail_s': 0.0,
                                                  'RT_max': 32528.96,
                                                  'RT_avg': 3895.91,
                                                  'TP50': 2400.0,
                                                  'TP99': 14000.0}}}}} 
longjiquan commented 2 months ago

image

shall this be in a queue to execute? @longjiquan

yes, they are scheduled to be executed in sequence from queue, but even we(client) do release_partition, load_collection, drop_partition in sequence, this issue still exists.

longjiquan commented 2 months ago

The load_collection will reload the released partitions, and then they are not allowed to be dropped.