milvus/internal/rootcoord
yihao.dai 8e6ec58652
fix: Fix rate wasn't limited to the expected value (#35699) (#35700)
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

pr: https://github.com/milvus-io/milvus/pull/35699

---------

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2024-08-28 10:29:00 +08:00
..
mocks enhance: Add BackupRBAC/RestoreRBAC API to enable rbac backup (#35444) (#35513) 2024-08-18 13:42:55 +08:00
alter_alias_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +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_collection_task_test.go feat: [cherry-pick][2.4] support partition key isolation (#34336) (#34613) 2024-07-17 14:03:43 +08:00
alter_collection_task.go feat: [cherry-pick][2.4] support partition key isolation (#34336) (#34613) 2024-07-17 14:03:43 +08:00
alter_database_task_test.go enhance: Enable alter database props in rootcoord (#32458) 2024-04-25 10:53:25 +08:00
alter_database_task.go enhance: Enable alter database props in rootcoord (#32458) 2024-04-25 10:53:25 +08:00
broker_test.go enhance: support setting properties in create database request (#34511) 2024-07-09 18:16:18 +08:00
broker.go enhance: cherry pick some improved PRs from the master branch (#34391) 2024-07-03 19:40:11 +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_test.go enhance: Break down the granularity of collection info cache expired (#29977) 2024-01-30 16:45:02 +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_collection_task_test.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
create_collection_task.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
create_db_task_test.go
create_db_task.go enhance: support setting properties in create database request (#34511) 2024-07-09 18:16:18 +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
create_partition_task.go enhance: Break down the granularity of collection info cache expired (#29977) 2024-01-30 16:45:02 +08:00
ddl_ts_lock_manager_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
ddl_ts_lock_manager.go
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_collection_task.go feat: support rate limiter based on db and partition levels (#31070) 2024-04-12 16:01:19 +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
describe_db_task.go enhance: expose DescribeDatabase api in proxy (#32732) 2024-05-09 22:51:30 +08:00
dml_channels_test.go enhance: move rocksmq from internal to pkg (#34165) 2024-06-26 13:36:05 +08:00
dml_channels.go enhance: move rocksmq from internal to pkg (#34165) 2024-06-26 13:36:05 +08:00
drop_alias_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +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_collection_task_test.go Refine errors to remove changes breaking design (#26521) 2023-09-04 09:57:09 +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_db_task_test.go enhance: support to invalid the database meta cache (#32078) 2024-04-10 06:45:18 +08:00
drop_db_task.go enhance: support to invalid the database meta cache (#32078) 2024-04-10 06:45:18 +08:00
drop_partition_task_test.go Decouple basetable and componentparam (#26725) 2023-09-05 10:31:48 +08:00
drop_partition_task.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
expire_cache.go enhance: Break down the granularity of collection info cache expired (#29977) 2024-01-30 16:45:02 +08:00
field_id.go
garbage_collector_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
garbage_collector.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
has_collection_task_test.go Add more metrics (#25081) 2023-06-26 17:52:44 +08:00
has_collection_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
has_partition_task.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
list_db_task_test.go enhance: the return result of list db api (#31544) 2024-03-28 07:13:10 +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
meta_table_test.go enhance: Add BackupRBAC/RestoreRBAC API to enable rbac backup (#35444) (#35513) 2024-08-18 13:42:55 +08:00
meta_table.go fix: the incorrect number of partitions in rootcoord meta (#35601) 2024-08-25 16:30:59 +08:00
metrics_info.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
mock_test.go enhance: cherry pick some improved PRs from the master branch (#34391) 2024-07-03 19:40:11 +08:00
name_db.go feat: Implement DescribeAlias and ListAliases interfaces (#29641) 2024-01-11 19:12:51 +08:00
OWNERS
quota_center_test.go enhance: add disk quota and max collections into db properties (#34386) 2024-07-05 18:22:17 +08:00
quota_center.go fix: Fix rate wasn't limited to the expected value (#35699) (#35700) 2024-08-28 10:29:00 +08:00
redo_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
redo.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
rename_collection_task_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
root_coord_test.go enhance: Refresh proxy cache after restore rbac meta (#35636) 2024-08-22 19:09:01 +08:00
root_coord.go enhance: Refresh proxy cache after restore rbac meta (#35636) 2024-08-22 19:09:01 +08:00
scheduler_test.go Decouple basetable and componentparam (#26725) 2023-09-05 10:31:48 +08:00
scheduler.go Add more metrics (#25081) 2023-06-26 17:52:44 +08:00
show_collection_task_test.go fix: [2.4] show empty collection when has granted the all privilege (#33454) 2024-05-29 20:49:45 +08:00
show_collection_task.go fix: [2.4] show empty collection when has granted the all privilege (#33454) 2024-05-29 20:49:45 +08:00
show_partition_task_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
show_partition_task.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
step_executor_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
step_executor.go fix: exceed etcd limit (#33041) 2024-05-14 18:45:32 +08:00
step_test.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
step.go enhance: Enable alter database props in rootcoord (#32458) 2024-04-25 10:53:25 +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_test.go Optimize the codec code of session (#27360) 2023-10-01 10:33:30 +08:00
timeticksync.go enhance: Update protobuf-go to protobuf-go v2 (#34394) (#35555) 2024-08-21 18:50:58 +08:00
undo_test.go
undo.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
util_test.go feat: support rate limiter based on db and partition levels (#31070) 2024-04-12 16:01:19 +08:00
util.go fix: RootCoord panic during check health (#34542) 2024-07-10 09:50:38 +08:00