Skip to content

Commit 867c98f

Browse files
wangxiyu191charpty
authored andcommitted
[protocol] clarify EventReport storage usage
1 parent 6d2581e commit 867c98f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

integration_test/meta_service/test_report_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# --env kvcm.service.admin_http_port=56040 \
1212
# --env kvcm.service.enable_debug_service=false
1313
# 2. Run this script:
14-
python test_vineyard_report_event.py \
14+
python3 integration_test/meta_service/test_report_event.py \
1515
--host localhost --http_port 56020 --admin_http_port 56040 \
1616
--instance_id event_report_cluster_0
1717
"""

kv_cache_manager/protocol/protobuf/admin_service.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ message StorageConfig {
131131
EventReportStorageSpec event_report = 14;
132132
}
133133
bool check_storage_available_when_open = 8;
134-
// 仅供响应中使用,标识存储类型;请求时类型由 oneof 字段决定。
134+
// 响应中用于标识存储类型;请求中通常由 oneof storage_spec 确定类型。
135+
// 配置 EventReport storage 时必须显式指定 ST_EVENT_REPORT_L1P5 或 ST_EVENT_REPORT_L2。
135136
StorageType storage_type = 11;
136137
}
137138

0 commit comments

Comments
 (0)