This is an automated email from the ASF dual-hosted git repository.
meiyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 46c9cee0485 [feat](snapshot) commit snapshot record image_file_size
and snapshot_data_size (#58738)
46c9cee0485 is described below
commit 46c9cee0485f62869fafc002d5d8ed155d87803a
Author: meiyi <[email protected]>
AuthorDate: Tue Dec 9 14:17:28 2025 +0800
[feat](snapshot) commit snapshot record image_file_size and
snapshot_data_size (#58738)
---
gensrc/proto/cloud.proto | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gensrc/proto/cloud.proto b/gensrc/proto/cloud.proto
index ffc539a7c40..30e3a5f4d46 100644
--- a/gensrc/proto/cloud.proto
+++ b/gensrc/proto/cloud.proto
@@ -849,6 +849,9 @@ message SnapshotPB {
optional string upload_file = 15;
optional string upload_id = 16;
+ optional int64 image_file_size = 17;
+ optional int64 snapshot_data_size = 18;
+
// TODO: add the referenced resources
}
@@ -2037,6 +2040,8 @@ message CommitSnapshotRequest {
optional string image_url = 3;
optional int64 last_journal_id = 4;
optional string request_ip = 5;
+ optional int64 image_file_size = 6;
+ optional int64 snapshot_data_size = 7;
}
message CommitSnapshotResponse {
@@ -2071,6 +2076,8 @@ message SnapshotInfoPB {
optional string reason = 14;
repeated string derived_instance_ids = 15;
+ optional int64 image_file_size = 16;
+ optional int64 snapshot_data_size = 17;
}
message ListSnapshotRequest {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]