milvus/internal/rootcoord
congqixia df16bf6acd
fix: [Cherry-pick] Remove time tick delay metrics when nodes go offline (#30833) (#30879)
Cherry-pick from master
pr: #30833
See also #30832

This PR removes time tick delay metrics when rootcoord GetMetrics
response does not have previously existed querynode/datanode

Also add unit tests for this case

---------

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
Signed-off-by: Congqi.Xia <congqi.xia@zilliz.com>
2024-02-28 18:55:00 +08:00
..
mocks feat: [Cherry-pick] Implement DescribeAlias and ListAliases interfaces (#29896) 2024-01-12 16:30:51 +08:00
OWNERS [skip ci]Update OWNERS files (#11898) 2021-11-16 15:41:11 +08:00
alter_alias_task.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
alter_alias_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
alter_collection_task.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
alter_collection_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
broker.go Block creating new error from status reason (#27426) 2023-10-07 11:29:32 +08:00
broker_test.go enhance: Use mockery to replace manual mock code (#29074) (#29182) 2023-12-14 16:44:43 +08:00
constrant.go feat: support general capacity restrict for cloud-side resoure contro… (#30017) 2024-01-22 16:18:56 +08:00
create_alias_task.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
create_alias_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
create_collection_task.go feat: support general capacity restrict for cloud-side resoure contro… (#30017) 2024-01-22 16:18:56 +08:00
create_collection_task_test.go feat: support general capacity restrict for cloud-side resoure contro… (#30017) 2024-01-22 16:18:56 +08:00
create_db_task.go enhance: refine error messages (#28424) (#28614) 2023-11-24 10:04:24 +08:00
create_db_task_test.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
create_partition_task.go feat: support general capacity restrict for cloud-side resoure contro… (#30017) 2024-01-22 16:18:56 +08:00
create_partition_task_test.go feat: support general capacity restrict for cloud-side resoure contro… (#30017) 2024-01-22 16:18:56 +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 [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
describe_collection_task_test.go Add more metrics (#25081) 2023-06-26 17:52:44 +08:00
dml_channels.go Remove topic empty restriction when preCreated topic (#27351) 2023-10-10 18:53:32 +08:00
dml_channels_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
drop_alias_task.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
drop_alias_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
drop_collection_task.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
drop_collection_task_test.go Refine errors to remove changes breaking design (#26521) 2023-09-04 09:57:09 +08:00
drop_db_task.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
drop_db_task_test.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
drop_partition_task.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
drop_partition_task_test.go Decouple basetable and componentparam (#26725) 2023-09-05 10:31:48 +08:00
expire_cache.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
expire_cache_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
field_id.go fix the spelling of `field` (#25008) 2023-06-21 14:00:42 +08:00
garbage_collector.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
garbage_collector_test.go Refine state check (#27541) 2023-10-11 21:01:35 +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
import_helper.go [Cherry-Pick] Support Database (#24769) 2023-06-25 17:20:43 +08:00
import_manager.go enhance: [Pick]Support implicit type conversion for parquet (#29119) 2023-12-12 16:14:43 +08:00
import_manager_test.go enhance: [Pick]Support implicit type conversion for parquet (#29119) 2023-12-12 16:14:43 +08:00
list_db_task.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
list_db_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
meta_table.go feat: [Cherry-pick] Implement DescribeAlias and ListAliases interfaces (#29896) 2024-01-12 16:30:51 +08:00
meta_table_test.go feat: [Cherry-pick] Implement DescribeAlias and ListAliases interfaces (#29896) 2024-01-12 16:30:51 +08:00
metrics_info.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00
mock_test.go feat: [Cherry-pick] Implement DescribeAlias and ListAliases interfaces (#29896) 2024-01-12 16:30:51 +08:00
name_db.go feat: [Cherry-pick] Implement DescribeAlias and ListAliases interfaces (#29896) 2024-01-12 16:30:51 +08:00
proxy_client_manager.go Fix retry when proxy stopped (#28263) 2023-11-09 10:10:19 +08:00
proxy_client_manager_test.go Fix retry when proxy stopped (#28263) 2023-11-09 10:10:19 +08:00
proxy_manager.go enhance: [cherry-pick] Make etcd kv request timeout configurable (#28661) (#28701) 2023-11-24 21:16:26 +08:00
proxy_manager_test.go Optimize the codec code of session (#27360) 2023-10-01 10:33:30 +08:00
quota_center.go fix: [Cherry-pick] Remove time tick delay metrics when nodes go offline (#30833) (#30879) 2024-02-28 18:55:00 +08:00
quota_center_test.go fix: [Cherry-pick] Remove time tick delay metrics when nodes go offline (#30833) (#30879) 2024-02-28 18:55:00 +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 Support rename db name of the collection (#26543) 2023-08-29 14:54:26 +08:00
rename_collection_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
root_coord.go fix: should return collectionName in response of ListAliases (#30533) 2024-02-12 08:30:55 +08:00
root_coord_test.go feat: [Cherry-pick] Implement DescribeAlias and ListAliases interfaces (#29896) 2024-01-12 16:30:51 +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 enhance: filter out the not needed collections while listing (#29690) (#30180) 2024-01-22 16:52:55 +08:00
show_collection_task_test.go Format the code (#27275) 2023-09-21 09:45:27 +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 Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +08:00
step_executor.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
step_executor_test.go Format the code (#27275) 2023-09-21 09:45:27 +08:00
step_test.go Support to replicate the mq message (#27240) 2023-10-20 14:26:09 +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 [Fixup] msg context access data race when msgdispatcher (#26463) 2023-08-21 19:16:22 +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 Refine state check (#27541) 2023-10-11 21:01:35 +08:00
util_test.go Refine state check (#27541) 2023-10-11 21:01:35 +08:00