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]: [benchmark][cluster] The number of growing segments on queryNode gradually increases, the amount of data loaded on queryNode is greater than data actually inserted #40382

Open
1 task done
wangting0128 opened this issue Mar 5, 2025 · 3 comments
Assignees
Labels
area/performance Performance issues kind/bug Issues or changes related a bug test/benchmark benchmark test triage/accepted Indicates an issue or PR is ready to be actively worked on.
Milestone

Comments

@wangting0128
Copy link
Contributor

wangting0128 commented Mar 5, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Environment

- Milvus version:2.5-20250305-cc7d4ce3-amd64
- Deployment mode(standalone or cluster):cluster
- MQ type(rocksmq, pulsar or kafka):pulsar   
- SDK version(e.g. pymilvus v2.0.0rc2):2.5.5rc13
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

argo task: bitmap-corn-1741143600

server:

 NAME                                                              READY   STATUS             RESTARTS          AGE     IP              NODE         NOMINATED NODE   READINESS GATES
bitmap-corn-1741143600-8-etcd-0                                   1/1     Running            0                 3h50m   10.104.23.132   4am-node27   <none>           <none>
bitmap-corn-1741143600-8-etcd-1                                   1/1     Running            0                 3h50m   10.104.25.22    4am-node30   <none>           <none>
bitmap-corn-1741143600-8-etcd-2                                   1/1     Running            0                 3h50m   10.104.32.217   4am-node39   <none>           <none>
bitmap-corn-1741143600-8-milvus-datanode-7c5d976576-5zlkk         1/1     Running            2 (3h49m ago)     3h50m   10.104.18.205   4am-node25   <none>           <none>
bitmap-corn-1741143600-8-milvus-datanode-7c5d976576-prk9r         1/1     Running            3 (3h49m ago)     3h50m   10.104.15.193   4am-node20   <none>           <none>
bitmap-corn-1741143600-8-milvus-datanode-7c5d976576-qnfg4         1/1     Running            3 (3h49m ago)     3h50m   10.104.34.213   4am-node37   <none>           <none>
bitmap-corn-1741143600-8-milvus-indexnode-76b6f78f65-5c4xq        1/1     Running            3 (3h49m ago)     3h50m   10.104.20.222   4am-node22   <none>           <none>
bitmap-corn-1741143600-8-milvus-indexnode-76b6f78f65-95gf7        1/1     Running            3 (3h49m ago)     3h50m   10.104.17.61    4am-node23   <none>           <none>
bitmap-corn-1741143600-8-milvus-mixcoord-999b87dc8-2jmk5          1/1     Running            3 (3h49m ago)     3h50m   10.104.18.204   4am-node25   <none>           <none>
bitmap-corn-1741143600-8-milvus-proxy-6cb95478c4-dw2kl            1/1     Running            3 (3h49m ago)     3h50m   10.104.14.126   4am-node18   <none>           <none>
bitmap-corn-1741143600-8-milvus-querynode-66cd989c47-jkjvs        1/1     Running            3 (3h49m ago)     3h50m   10.104.14.127   4am-node18   <none>           <none>
bitmap-corn-1741143600-8-minio-0                                  1/1     Running            0                 3h50m   10.104.17.63    4am-node23   <none>           <none>
bitmap-corn-1741143600-8-minio-1                                  1/1     Running            0                 3h50m   10.104.32.219   4am-node39   <none>           <none>
bitmap-corn-1741143600-8-minio-2                                  1/1     Running            0                 3h50m   10.104.34.221   4am-node37   <none>           <none>
bitmap-corn-1741143600-8-minio-3                                  1/1     Running            0                 3h50m   10.104.20.232   4am-node22   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-bookie-0                        1/1     Running            0                 3h50m   10.104.32.211   4am-node39   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-bookie-1                        1/1     Running            0                 3h50m   10.104.18.213   4am-node25   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-bookie-2                        1/1     Running            0                 3h50m   10.104.34.220   4am-node37   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-bookie-init-nzttg               0/1     Completed          0                 3h50m   10.104.24.13    4am-node29   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-broker-0                        1/1     Running            0                 3h50m   10.104.9.31     4am-node14   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-broker-1                        1/1     Running            0                 3h50m   10.104.32.207   4am-node39   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-proxy-0                         1/1     Running            0                 3h50m   10.104.32.206   4am-node39   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-proxy-1                         1/1     Running            0                 3h50m   10.104.23.128   4am-node27   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-pulsar-init-qnvfl               0/1     Completed          0                 3h50m   10.104.24.14    4am-node29   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-recovery-0                      1/1     Running            0                 3h50m   10.104.32.204   4am-node39   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-zookeeper-0                     1/1     Running            0                 3h50m   10.104.32.213   4am-node39   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-zookeeper-1                     1/1     Running            0                 3h50m   10.104.15.203   4am-node20   <none>           <none>
bitmap-corn-1741143600-8-pulsarv3-zookeeper-2                     1/1     Running            0                 3h50m   10.104.25.24    4am-node30   <none>           <none> 

Collection shard=16
queryNode - Segment Loaded Num
Image

prepare 5 million data, concurrent insert 146 * 10 = 1460, delete 153 * 10 = 1530
queryNode - Queryable Entity Num
The amount of data has more than doubled
Image

Image

Expected Behavior

Same case, different image, tested normally

argo task: bitmap-corn-1741057200
image: 2.5-20250303-29c23545-amd64

server:

 NAME                                                              READY   STATUS             RESTARTS         AGE     IP              NODE         NOMINATED NODE   READINESS GATES
bitmap-corn-1741057200-8-etcd-0                                   1/1     Running            0                3h52m   10.104.27.155   4am-node31   <none>           <none>
bitmap-corn-1741057200-8-etcd-1                                   1/1     Running            0                3h52m   10.104.21.14    4am-node24   <none>           <none>
bitmap-corn-1741057200-8-etcd-2                                   1/1     Running            0                3h52m   10.104.20.225   4am-node22   <none>           <none>
bitmap-corn-1741057200-8-milvus-datanode-6d5698c746-cfkz9         1/1     Running            3 (3h51m ago)    3h52m   10.104.21.251   4am-node24   <none>           <none>
bitmap-corn-1741057200-8-milvus-datanode-6d5698c746-gxwdw         1/1     Running            3 (3h51m ago)    3h52m   10.104.20.216   4am-node22   <none>           <none>
bitmap-corn-1741057200-8-milvus-datanode-6d5698c746-tgnpw         1/1     Running            3 (3h51m ago)    3h52m   10.104.30.149   4am-node38   <none>           <none>
bitmap-corn-1741057200-8-milvus-indexnode-7d97957fb5-8r9xv        1/1     Running            3 (3h51m ago)    3h52m   10.104.6.11     4am-node13   <none>           <none>
bitmap-corn-1741057200-8-milvus-indexnode-7d97957fb5-gpm74        1/1     Running            3 (3h51m ago)    3h52m   10.104.26.79    4am-node32   <none>           <none>
bitmap-corn-1741057200-8-milvus-mixcoord-5986dddd8d-q87mh         1/1     Running            3 (3h51m ago)    3h52m   10.104.26.77    4am-node32   <none>           <none>
bitmap-corn-1741057200-8-milvus-proxy-59c8bbbf66-sj4tq            1/1     Running            3 (3h51m ago)    3h52m   10.104.26.78    4am-node32   <none>           <none>
bitmap-corn-1741057200-8-milvus-querynode-7bb446f9-gnt5b          1/1     Running            3 (3h51m ago)    3h52m   10.104.23.69    4am-node27   <none>           <none>
bitmap-corn-1741057200-8-minio-0                                  1/1     Running            0                3h52m   10.104.32.62    4am-node39   <none>           <none>
bitmap-corn-1741057200-8-minio-1                                  1/1     Running            0                3h52m   10.104.27.161   4am-node31   <none>           <none>
bitmap-corn-1741057200-8-minio-2                                  1/1     Running            0                3h52m   10.104.21.8     4am-node24   <none>           <none>
bitmap-corn-1741057200-8-minio-3                                  1/1     Running            0                3h52m   10.104.20.221   4am-node22   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-bookie-0                        1/1     Running            0                3h52m   10.104.27.160   4am-node31   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-bookie-1                        1/1     Running            0                3h52m   10.104.21.13    4am-node24   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-bookie-2                        1/1     Running            0                3h52m   10.104.20.228   4am-node22   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-bookie-init-ddgbb               0/1     Completed          0                3h52m   10.104.23.67    4am-node27   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-broker-0                        1/1     Running            0                3h52m   10.104.9.212    4am-node14   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-broker-1                        1/1     Running            0                3h52m   10.104.16.215   4am-node21   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-proxy-0                         1/1     Running            0                3h52m   10.104.14.95    4am-node18   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-proxy-1                         1/1     Running            0                3h52m   10.104.34.93    4am-node37   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-pulsar-init-74ltc               0/1     Completed          0                3h52m   10.104.23.68    4am-node27   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-recovery-0                      1/1     Running            0                3h52m   10.104.32.58    4am-node39   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-zookeeper-0                     1/1     Running            0                3h52m   10.104.24.247   4am-node29   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-zookeeper-1                     1/1     Running            0                3h52m   10.104.16.223   4am-node21   <none>           <none>
bitmap-corn-1741057200-8-pulsarv3-zookeeper-2                     1/1     Running            0                3h52m   10.104.27.154   4am-node31   <none>           <none>
Image Image

Steps To Reproduce

concurrent test and calculation of RT and QPS

        :purpose:  `partition_key on scalar int64_1 field`, shards_num=16
            verify DQL & DML scenario,
            which has 1 vector fields(IVF_SQ8) and building `BITMAP` index on all supported 12 scalar fields

        :test steps:
            1. create collection (shards_num=16) with fields:
                'float_vector': 128dim

                'int64_1': partition_key, num_partitions=1024, data range: 0 ~ 9
                all scalar fields: varchar max_length=100, array max_capacity=13
            2. build indexes:
                IVF_SQ8: 'float_vector'

                BITMAP: all scalar fields
            3. insert 5 million data
            4. flush collection
            5. build indexes again using the same params
            6. load collection
                replica: 1
            7. concurrent request:
                - search
                - query
                - hybrid_search
                - load
                - insert: batch=10
                  id = 0 ~ 9
                - delete: delete all
                  id = 0 ~ 9
                - flush: ignore RateLimite

Milvus Log

No response

Anything else?

test result:

[2025-03-05 06:53:02,248 -  INFO - fouram]: Print locust final stats. (locust_runner.py:57)
[2025-03-05 06:53:02,248 -  INFO - fouram]: Type             Name                                                            # reqs        # fails |           Avg            Min            Max            Med |          req/s     failures/s (locust_common.py:13)
[2025-03-05 06:53:02,248 -  INFO - fouram]: ----------------|-------------------------------------------------------|--------------|---------------|--------------|--------------|--------------|---------------|---------------|-------------- (locust_common.py:13)
[2025-03-05 06:53:02,248 -  INFO - fouram]: grpc             delete                                                             153       0(0.00%) |         41924              4         494289             32 |           0.01           0.00 (locust_common.py:13)
[2025-03-05 06:53:02,248 -  INFO - fouram]: grpc             flush                                                              164       0(0.00%) |        312212            513         899212         255000 |           0.02           0.00 (locust_common.py:13)
[2025-03-05 06:53:02,248 -  INFO - fouram]: grpc             hybrid_search                                                      160    104(65.00%) |         73716              0         557307              0 |           0.01           0.01 (locust_common.py:13)
[2025-03-05 06:53:02,248 -  INFO - fouram]: grpc             insert                                                             146       0(0.00%) |         49418             15         405374            170 |           0.01           0.00 (locust_common.py:13)
[2025-03-05 06:53:02,249 -  INFO - fouram]: grpc             load                                                               139       0(0.00%) |         67337             11         600073             89 |           0.01           0.00 (locust_common.py:13)
[2025-03-05 06:53:02,249 -  INFO - fouram]: grpc             query                                                              141     80(56.74%) |        281140            141         794290         300000 |           0.01           0.01 (locust_common.py:13)
[2025-03-05 06:53:02,249 -  INFO - fouram]: grpc             search                                                             125     58(46.40%) |         46234              0         225655           1100 |           0.01           0.01 (locust_common.py:13)
[2025-03-05 06:53:02,249 -  INFO - fouram]: ----------------|-------------------------------------------------------|--------------|---------------|--------------|--------------|--------------|---------------|---------------|-------------- (locust_common.py:13)
[2025-03-05 06:53:02,249 -  INFO - fouram]:                  Aggregated                                                        1028    242(23.54%) |        127827              0         899212          22000 |           0.10           0.02 (locust_common.py:13)
[2025-03-05 06:53:02,249 -  INFO - fouram]:  (locust_common.py:14)
[2025-03-05 06:53:02,252 -  INFO - fouram]: [PerfTemplate] Report data: 
{'server': {'deploy_tool': 'helm',
            'deploy_mode': 'cluster',
            'config_name': 'cluster_2c8m',
            'config': {'queryNode': {'resources': {'limits': {'cpu': '32.0', 'memory': '16Gi'}, 'requests': {'cpu': '17.0', 'memory': '9Gi'}}, 'replicas': 1},
                       'indexNode': {'resources': {'limits': {'cpu': '4.0', 'memory': '8Gi'}, 'requests': {'cpu': '3.0', 'memory': '5Gi'}}, 'replicas': 2},
                       'dataNode': {'resources': {'limits': {'cpu': '4.0', 'memory': '8Gi'}, 'requests': {'cpu': '3.0', 'memory': '5Gi'}}, 'replicas': 3},
                       'cluster': {'enabled': True},
                       'pulsarv3': {},
                       'kafka': {},
                       'minio': {'metrics': {'podMonitor': {'enabled': True}}},
                       'etcd': {'metrics': {'enabled': True, 'podMonitor': {'enabled': True}}},
                       'metrics': {'serviceMonitor': {'enabled': True}},
                       'log': {'level': 'debug'},
                       'image': {'all': {'repository': 'harbor.milvus.io/milvus/milvus', 'tag': '2.5-20250305-cc7d4ce3-amd64'}}},
            'host': 'bitmap-corn-1741143600-8-milvus.qa-milvus.svc.cluster.local',
            'port': '19530',
            'uri': ''},
 'client': {'test_case_type': 'ConcurrentClientBase',
            'test_case_name': 'test_bitmap_locust_dql_dml_partition_key_repeated_cluster',
            'test_case_params': {'dataset_params': {'metric_type': 'L2',
                                                    'dim': 128,
                                                    'max_length': 512,
                                                    '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'}},
                                                    'scalars_params': {'int64_1': {'params': {'is_partition_key': True},
                                                                                   'other_params': {'dataset': 'random_algorithm',
                                                                                                    'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                         'specify_range': [0, 10],
                                                                                                                         'max_capacity': 1}}},
                                                                       'array_int8_1': {'params': {'max_capacity': 9},
                                                                                        'other_params': {'dataset': 'random_algorithm',
                                                                                                         'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                              'specify_range': [-128, 128],
                                                                                                                              'max_capacity': 9}}},
                                                                       'array_int16_1': {'params': {'max_capacity': 9},
                                                                                         'other_params': {'dataset': 'random_algorithm',
                                                                                                          'algorithm_params': {'algorithm_name': 'fixed_value_range',
                                                                                                                               'specify_range': [-400, 432],
                                                                                                                               'batch': 50,
                                                                                                                               'max_capacity': 9}}},
                                                                       'array_int32_1': {'params': {'max_capacity': 9},
                                                                                         'other_params': {'dataset': 'random_algorithm',
                                                                                                          'algorithm_params': {'algorithm_name': 'specify_scope',
                                                                                                                               'specify_range': [-300, 300],
                                                                                                                               'max_capacity': 9}}},
                                                                       'array_int64_1': {'params': {'max_capacity': 9},
                                                                                         'other_params': {'dataset': 'random_algorithm',
                                                                                                          'algorithm_params': {'algorithm_name': 'fixed_value_range',
                                                                                                                               'specify_range': [-400, 432],
                                                                                                                               'batch': 50,
                                                                                                                               'max_capacity': 9}}},
                                                                       'array_varchar_1': {'params': {'max_capacity': 9},
                                                                                           'other_params': {'dataset': 'random_algorithm',
                                                                                                            'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                                 'specify_range': [-1500, 1500],
                                                                                                                                 'max_capacity': 9}}},
                                                                       'array_bool_1': {'params': {'max_capacity': 9}},
                                                                       'int8_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                   'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                        'specify_range': [-128, 128],
                                                                                                                        'max_capacity': 9}}},
                                                                       'int32_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                    'algorithm_params': {'algorithm_name': 'specify_scope',
                                                                                                                         'specify_range': [-300, 300],
                                                                                                                         'max_capacity': 9}}},
                                                                       'int16_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                    'algorithm_params': {'algorithm_name': 'fixed_value_range',
                                                                                                                         'specify_range': [-400, 432],
                                                                                                                         'batch': 50,
                                                                                                                         'max_capacity': 9}}},
                                                                       'varchar_1': {'other_params': {'dataset': 'random_algorithm',
                                                                                                      'algorithm_params': {'algorithm_name': 'random_range',
                                                                                                                           'specify_range': [-1500, 1500],
                                                                                                                           'max_capacity': 9}}}},
                                                    'dataset_name': 'sift',
                                                    'dataset_size': 5000000,
                                                    'ni_per': 5000},
                                 'collection_params': {'other_fields': ['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,
                                                       'num_partitions': 1024},
                                 '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': 20, 'during_time': '3h', 'interval': 20, 'spawn_rate': None},
                                 'concurrent_tasks': [{'type': 'search',
                                                       'weight': 1,
                                                       'params': {'nq': 1000,
                                                                  'top_k': 10,
                                                                  'search_param': {'nprobe': 16},
                                                                  'expr': 'int64_1 == 1',
                                                                  'guarantee_timestamp': None,
                                                                  'partition_names': None,
                                                                  'output_fields': ['id', 'float_vector', 'int64_1'],
                                                                  'ignore_growing': False,
                                                                  'group_by_field': None,
                                                                  'timeout': 300,
                                                                  'random_data': True,
                                                                  'check_task': 'check_search_output',
                                                                  'check_items': {'nq': 1000}}},
                                                      {'type': 'query',
                                                       'weight': 1,
                                                       'params': {'ids': None,
                                                                  'expr': 'int64_1 == 9',
                                                                  'output_fields': ['count(*)'],
                                                                  'offset': None,
                                                                  'limit': None,
                                                                  'ignore_growing': False,
                                                                  'partition_names': None,
                                                                  'timeout': 300,
                                                                  'consistency_level': None,
                                                                  'random_data': False,
                                                                  'random_count': 0,
                                                                  'random_range': [0, 1],
                                                                  'field_name': 'id',
                                                                  'field_type': 'int64',
                                                                  'custom_expr': None,
                                                                  'custom_range': [0, 1],
                                                                  'check_task': 'check_response',
                                                                  'check_items': None}},
                                                      {'type': 'hybrid_search',
                                                       'weight': 1,
                                                       'params': {'nq': 10,
                                                                  'top_k': 10,
                                                                  'reqs': [{'search_param': {'nprobe': 32},
                                                                            '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': 30},
                                                                           {'search_param': {'nprobe': 64},
                                                                            'anns_field': 'float_vector',
                                                                            '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': None,
                                                                  'timeout': 600,
                                                                  'random_data': True,
                                                                  'check_task': 'check_search_output',
                                                                  'check_items': {'output_fields': ['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}},
                                                      {'type': 'insert',
                                                       'weight': 1,
                                                       'params': {'nb': 10,
                                                                  'timeout': 30,
                                                                  'random_id': False,
                                                                  'random_vector': True,
                                                                  'varchar_filled': False,
                                                                  'start_id': 0,
                                                                  'shuffle_id': False,
                                                                  'check_task': 'check_response',
                                                                  'check_items': None}},
                                                      {'type': 'delete',
                                                       'weight': 1,
                                                       'params': {'expr': '',
                                                                  'delete_length': 10,
                                                                  'timeout': 30,
                                                                  'check_task': 'check_response',
                                                                  'check_items': None}},
                                                      {'type': 'flush',
                                                       'weight': 1,
                                                       'params': {'timeout': 600,
                                                                  'check_task': 'check_ignore_expected_errors',
                                                                  'check_items': [{'message': 'request is rejected by grpc RateLimiter middleware, please '
                                                                                              'retry later'},
                                                                                  {'message': 'wait for flush timeout'}]}}]},
            'run_id': 2025030537721576,
            'datetime': '2025-03-05 03:02:52.056420',
            'client_version': '2.5.0'},
 'result': {'test_result': {'index': {'RT': 2382.8849,
                                      'int8_1': {'RT': 0.5337},
                                      'int16_1': {'RT': 0.5304},
                                      'int32_1': {'RT': 0.5235},
                                      'int64_1': {'RT': 0.5282},
                                      'varchar_1': {'RT': 0.5316},
                                      'bool_1': {'RT': 0.5273},
                                      'array_int8_1': {'RT': 0.5276},
                                      'array_int16_1': {'RT': 0.524},
                                      'array_int32_1': {'RT': 0.522},
                                      'array_int64_1': {'RT': 0.5258},
                                      'array_varchar_1': {'RT': 0.5507},
                                      'array_bool_1': {'RT': 0.5372}},
                            'insert': {'total_time': 345.6705, 'VPS': 14464.6419, 'batch_time': 0.3457, 'batch': 5000},
                            'flush': {'RT': 3.3975},
                            'load': {'RT': 9.6675},
                            'Locust': {'Aggregated': {'Requests': 1028,
                                                      'Fails': 242,
                                                      'RPS': 0.1,
                                                      'fail_s': 0.24,
                                                      'RT_max': 899212.21,
                                                      'RT_avg': 127827.34,
                                                      'TP50': 25000.0,
                                                      'TP99': 706000.0},
                                       'delete': {'Requests': 153,
                                                  'Fails': 0,
                                                  'RPS': 0.01,
                                                  'fail_s': 0.0,
                                                  'RT_max': 494288.83,
                                                  'RT_avg': 41923.84,
                                                  'TP50': 32,
                                                  'TP99': 300000.0},
                                       'flush': {'Requests': 164,
                                                 'Fails': 0,
                                                 'RPS': 0.02,
                                                 'fail_s': 0.0,
                                                 'RT_max': 899212.21,
                                                 'RT_avg': 312212.02,
                                                 'TP50': 262000.0,
                                                 'TP99': 863000.0},
                                       'hybrid_search': {'Requests': 160,
                                                         'Fails': 104,
                                                         'RPS': 0.01,
                                                         'fail_s': 0.65,
                                                         'RT_max': 557307.41,
                                                         'RT_avg': 73716.08,
                                                         'TP50': 0,
                                                         'TP99': 514000.0},
                                       'insert': {'Requests': 146,
                                                  'Fails': 0,
                                                  'RPS': 0.01,
                                                  'fail_s': 0.0,
                                                  'RT_max': 405374.46,
                                                  'RT_avg': 49417.68,
                                                  'TP50': 170.0,
                                                  'TP99': 405000.0},
                                       'load': {'Requests': 139,
                                                'Fails': 0,
                                                'RPS': 0.01,
                                                'fail_s': 0.0,
                                                'RT_max': 600072.63,
                                                'RT_avg': 67337.01,
                                                'TP50': 89,
                                                'TP99': 600000.0},
                                       'query': {'Requests': 141,
                                                 'Fails': 80,
                                                 'RPS': 0.01,
                                                 'fail_s': 0.57,
                                                 'RT_max': 794290.44,
                                                 'RT_avg': 281139.78,
                                                 'TP50': 300000.0,
                                                 'TP99': 705000.0},
                                       'search': {'Requests': 125,
                                                  'Fails': 58,
                                                  'RPS': 0.01,
                                                  'fail_s': 0.46,
                                                  'RT_max': 225655.18,
                                                  'RT_avg': 46234.22,
                                                  'TP50': 1100.0,
                                                  'TP99': 194000.0}}}}}
@wangting0128 wangting0128 added kind/bug Issues or changes related a bug needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. test/benchmark benchmark test labels Mar 5, 2025
@wangting0128 wangting0128 added this to the 2.5.6 milestone Mar 5, 2025
@dosubot dosubot bot added the area/performance Performance issues label Mar 5, 2025
Copy link

dosubot bot commented Mar 5, 2025

I found a similar open issue regarding discrepancies in the number of segments and data loaded on the queryNode in Milvus. The issue is titled "[Bug]: count(*) returns a result that exceeds the actual number" and is currently open, but no solution has been found in the comments [1].

Regarding the increase in growing segments, Milvus manages growing and sealed segments using a SegmentManager. Growing segments can increase due to the addition of new data that hasn't been compacted or sealed yet. This is typical when handling real-time data ingestion, where growing segments accumulate until they are processed into sealed segments [2][3].

For the transition from growing to sealed segments, Milvus uses an "autoHandoff" feature. This transition is triggered when a growing segment reaches a predefined threshold, at which point the segment is sealed, and index building begins. If autoHandoff is enabled, Milvus automatically replaces a growing segment with the corresponding indexed sealed segment [4][5].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@yanliang567
Copy link
Contributor

/assign @wangting0128
/unassign

@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 5, 2025
@wangting0128
Copy link
Contributor Author

reproduce

argo task: bitmap-corn-1741230000
image: 2.5-20250305-a1b9e3cc-amd64

server:

 NAME                                                              READY   STATUS             RESTARTS        AGE     IP              NODE         NOMINATED NODE   READINESS GATES
bitmap-corn-1741230000-8-etcd-0                                   1/1     Running            0               3h50m   10.104.32.233   4am-node39   <none>           <none>
bitmap-corn-1741230000-8-etcd-1                                   1/1     Running            0               3h50m   10.104.20.226   4am-node22   <none>           <none>
bitmap-corn-1741230000-8-etcd-2                                   1/1     Running            0               3h50m   10.104.23.111   4am-node27   <none>           <none>
bitmap-corn-1741230000-8-milvus-datanode-7d4bf8ddcf-6zhpz         1/1     Running            4 (3h49m ago)   3h50m   10.104.30.98    4am-node38   <none>           <none>
bitmap-corn-1741230000-8-milvus-datanode-7d4bf8ddcf-wtzdn         1/1     Running            3 (3h49m ago)   3h50m   10.104.34.247   4am-node37   <none>           <none>
bitmap-corn-1741230000-8-milvus-datanode-7d4bf8ddcf-xcmc2         1/1     Running            4 (3h49m ago)   3h50m   10.104.15.214   4am-node20   <none>           <none>
bitmap-corn-1741230000-8-milvus-indexnode-648f577f8b-4wwdp        1/1     Running            4 (3h49m ago)   3h50m   10.104.25.10    4am-node30   <none>           <none>
bitmap-corn-1741230000-8-milvus-indexnode-648f577f8b-j7ztf        1/1     Running            3 (3h49m ago)   3h50m   10.104.9.42     4am-node14   <none>           <none>
bitmap-corn-1741230000-8-milvus-mixcoord-7c497d9f-m4k62           1/1     Running            3 (3h49m ago)   3h50m   10.104.15.213   4am-node20   <none>           <none>
bitmap-corn-1741230000-8-milvus-proxy-6c94cbb85f-tprvf            1/1     Running            3 (3h49m ago)   3h50m   10.104.30.96    4am-node38   <none>           <none>
bitmap-corn-1741230000-8-milvus-querynode-c65bc6d4b-lxpq2         1/1     Running            3 (3h49m ago)   3h50m   10.104.21.223   4am-node24   <none>           <none>
bitmap-corn-1741230000-8-minio-0                                  1/1     Running            0               3h50m   10.104.32.230   4am-node39   <none>           <none>
bitmap-corn-1741230000-8-minio-1                                  1/1     Running            0               3h50m   10.104.23.106   4am-node27   <none>           <none>
bitmap-corn-1741230000-8-minio-2                                  1/1     Running            0               3h50m   10.104.20.229   4am-node22   <none>           <none>
bitmap-corn-1741230000-8-minio-3                                  1/1     Running            0               3h50m   10.104.26.10    4am-node32   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-bookie-0                        1/1     Running            0               3h50m   10.104.23.103   4am-node27   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-bookie-1                        1/1     Running            0               3h50m   10.104.32.238   4am-node39   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-bookie-2                        1/1     Running            0               3h50m   10.104.20.230   4am-node22   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-bookie-init-r86jn               0/1     Completed          0               3h50m   10.104.30.97    4am-node38   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-broker-0                        1/1     Running            0               3h50m   10.104.32.206   4am-node39   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-broker-1                        1/1     Running            0               3h50m   10.104.23.85    4am-node27   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-proxy-0                         1/1     Running            0               3h50m   10.104.32.208   4am-node39   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-proxy-1                         1/1     Running            0               3h50m   10.104.23.86    4am-node27   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-pulsar-init-qf4tx               0/1     Completed          0               3h50m   10.104.34.246   4am-node37   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-recovery-0                      1/1     Running            0               3h50m   10.104.32.207   4am-node39   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-zookeeper-0                     1/1     Running            0               3h50m   10.104.32.236   4am-node39   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-zookeeper-1                     1/1     Running            0               3h50m   10.104.23.113   4am-node27   <none>           <none>
bitmap-corn-1741230000-8-pulsarv3-zookeeper-2                     1/1     Running            0               3h50m   10.104.25.16    4am-node30   <none>           <none> 
Image Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/performance Performance issues kind/bug Issues or changes related a bug test/benchmark benchmark test triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

3 participants