milvus/internal/rootcoord
yihao.dai 56b3490a98
fix: Fix rate wasn't limited to the expected value (#35699)
Each time the rate is reset, the token bucket is fully refilled, causing
the rate wasn't limited to the expected value. This PR addresses the
issue by preventing the token reset.

issue: https://github.com/milvus-io/milvus/issues/35675,
https://github.com/milvus-io/milvus/issues/35702

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2024-08-28 14:13:00 +08:00
..
mocks enhance: optimize retrieve on dynamic field (#35580) 2024-08-22 14:24:56 +08:00
OWNERS [skip ci]Update OWNERS files (#11898) 2021-11-16 15:41:11 +08:00
alter_alias_task.go enhance: Break down the granularity of collection info cache expired (#29977) 2024-01-30 16:45:02 +08:00
alter_alias_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
alter_collection_task.go feat: support partition key isolation (#34336) 2024-07-11 19:01:35 +08:00
alter_collection_task_test.go feat: support partition key isolation (#34336) 2024-07-11 19:01:35 +08:00
alter_database_task.go enhance: Enable alter database props in rootcoord (#32458) 2024-04-25 10:53:25 +08:00
alter_database_task_test.go enhance: Enable alter database props in rootcoord (#32458) 2024-04-25 10:53:25 +08:00
broker.go fix: Fix datacoord's properties overwriten (#34146) 2024-06-26 11:56:04 +08:00
broker_test.go enhance: support setting properties in create database request (#34510) 2024-07-09 18:16:18 +08:00
constrant.go feat: add more operation detail info for better allocation (#30438) 2024-03-28 06:33:11 +08:00
create_alias_task.go enhance: Break down the granularity of collection info cache expired (#29977) 2024-01-30 16:45:02 +08:00
create_alias_task_test.go enhance: Break down the granularity of collection info cache expired (#29977) 2024-01-30 16:45:02 +08:00
create_collection_task.go enhance: add some check when create collection (#35629) 2024-08-25 16:23:05 +08:00
create_collection_task_test.go enhance: add some check when create collection (#35629) 2024-08-25 16:23:05 +08:00
create_db_task.go enhance: support setting properties in create database request (#34510) 2024-07-09 18:16:18 +08:00
create_db_task_test.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
create_partition_task.go enhance: support single pchannel level transaction (#35289) 2024-08-19 21:22:56 +08:00
create_partition_task_test.go feat: support general capacity restrict for cloud-side resoure contro… (#29845) 2024-01-16 16:32:53 +08:00
ddl_ts_lock_manager.go Move some modules from internal to public package (#22572) 2023-04-06 19:14:32 +08:00
ddl_ts_lock_manager_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
describe_collection_task.go feat: support rate limiter based on db and partition levels (#31070) 2024-04-12 16:01:19 +08:00
describe_collection_task_test.go fix: lost dbname when only passing collection id to describeCollection (#31167) 2024-03-11 17:19:02 +08:00
describe_db_task.go enhance: expose DescribeDatabase api in proxy (#32732) 2024-05-09 22:51:30 +08:00
describe_db_task_test.go feat: support rate limiter based on db and partition levels (#31070) 2024-04-12 16:01:19 +08:00
dml_channels.go enhance: move rocksmq from internal to pkg module (#33881) 2024-06-25 21:18:15 +08:00
dml_channels_test.go enhance: move rocksmq from internal to pkg module (#33881) 2024-06-25 21:18:15 +08:00
drop_alias_task.go enhance: Break down the granularity of collection info cache expired (#29977) 2024-01-30 16:45:02 +08:00
drop_alias_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
drop_collection_task.go enhance: Break down the granularity of collection info cache expired (#29977) 2024-01-30 16:45:02 +08:00
drop_collection_task_test.go enhance: Append drop partition msg to wal (#35326) 2024-08-07 17:28:16 +08:00
drop_db_task.go enhance: support to invalid the database meta cache (#32078) 2024-04-10 06:45:18 +08:00
drop_db_task_test.go enhance: support to invalid the database meta cache (#32078) 2024-04-10 06:45:18 +08:00
drop_partition_task.go enhance: Append drop partition msg to wal (#35326) 2024-08-07 17:28:16 +08:00
drop_partition_task_test.go enhance: Append drop partition msg to wal (#35326) 2024-08-07 17:28:16 +08:00
expire_cache.go enhance: Break down the granularity of collection info cache expired (#29977) 2024-01-30 16:45:02 +08:00
expire_cache_test.go enhance: Break down the granularity of collection info cache expired (#29977) 2024-01-30 16:45:02 +08:00
field_id.go fix the spelling of `field` (#25008) 2023-06-21 14:00:42 +08:00
garbage_collector.go enhance: support single pchannel level transaction (#35289) 2024-08-19 21:22:56 +08:00
garbage_collector_test.go enhance: support single pchannel level transaction (#35289) 2024-08-19 21:22:56 +08:00
has_collection_task.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
has_collection_task_test.go Add more metrics (#25081) 2023-06-26 17:52:44 +08:00
has_partition_task.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
has_partition_task_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
list_db_task.go enhance: return the auth collection list when using the `show collection` api (#32576) 2024-04-29 19:09:34 +08:00
list_db_task_test.go enhance: the return result of list db api (#31544) 2024-03-28 07:13:10 +08:00
meta_table.go fix: the incorrect number of partitions in rootcoord meta (#35600) 2024-08-26 15:20:58 +08:00
meta_table_test.go enhance: Add BackupRBAC/RestoreRBAC API to enable rbac backup (#35444) 2024-08-16 10:10:53 +08:00
metrics_info.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
mock_test.go enhance: Append drop partition msg to wal (#35326) 2024-08-07 17:28:16 +08:00
name_db.go feat: Implement DescribeAlias and ListAliases interfaces (#29641) 2024-01-11 19:12:51 +08:00
quota_center.go fix: Fix rate wasn't limited to the expected value (#35699) 2024-08-28 14:13:00 +08:00
quota_center_test.go fix: inconsistent meta view causes rate limit invalid (#35665) 2024-08-28 11:21:04 +08:00
redo.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
redo_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
rename_collection_task.go enhance: Break down the granularity of collection info cache expired (#29977) 2024-01-30 16:45:02 +08:00
rename_collection_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
root_coord.go enhance: Refresh proxy cache after restore rbac meta (#35635) 2024-08-22 19:09:01 +08:00
root_coord_test.go enhance: Refresh proxy cache after restore rbac meta (#35635) 2024-08-22 19:09:01 +08:00
scheduler.go Add more metrics (#25081) 2023-06-26 17:52:44 +08:00
scheduler_test.go Decouple basetable and componentparam (#26725) 2023-09-05 10:31:48 +08:00
show_collection_task.go fix: show empty collection when has granted the all privilege (#33445) 2024-05-29 20:51:44 +08:00
show_collection_task_test.go fix: show empty collection when has granted the all privilege (#33445) 2024-05-29 20:51:44 +08:00
show_partition_task.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
show_partition_task_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
step.go enhance: support single pchannel level transaction (#35289) 2024-08-19 21:22:56 +08:00
step_executor.go fix: exceed etcd limit (#33041) 2024-05-14 18:45:32 +08:00
step_executor_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
step_test.go enhance: support single pchannel level transaction (#35289) 2024-08-19 21:22:56 +08:00
task.go Add more metrics (#25081) 2023-06-26 17:52:44 +08:00
timestamp_bench_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
timeticksync.go enhance: Enable linux code checker (#35084) 2024-07-30 15:53:51 +08:00
timeticksync_test.go Optimize the codec code of session (#27360) 2023-10-01 10:33:30 +08:00
undo.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
undo_test.go Add license to rootcoord module (#22301) 2023-02-22 11:37:45 +08:00
util.go fix: RootCoord panic during check health (#34541) 2024-07-10 09:51:44 +08:00
util_test.go feat: support rate limiter based on db and partition levels (#31070) 2024-04-12 16:01:19 +08:00