Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Side by Side Diff: common/api/logdog_coordinator/services/v1/service.proto

Issue 1853433002: LogDog: Handle archive failures. (Closed) Base URL: https://github.com/luci/luci-go@logdog-gs-update
Patch Set: Regenerate protobufs. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto3"; 5 syntax = "proto3";
6 6
7 package logdog; 7 package logdog;
8 8
9 import "state.proto"; 9 import "state.proto";
10 import "github.com/luci/luci-go/common/proto/logdog/logpb/log.proto"; 10 import "github.com/luci/luci-go/common/proto/logdog/logpb/log.proto";
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // ArchiveStreamRequest is the set of caller-supplied data for the ArchiveStream 85 // ArchiveStreamRequest is the set of caller-supplied data for the ArchiveStream
86 // service endpoint. 86 // service endpoint.
87 message ArchiveStreamRequest { 87 message ArchiveStreamRequest {
88 // The path of the log stream that was archived. 88 // The path of the log stream that was archived.
89 string path = 1; 89 string path = 1;
90 // If true, the archive includes the full set of log stream entries between 90 // If true, the archive includes the full set of log stream entries between
91 // [0..terminal_index]. 91 // [0..terminal_index].
92 bool complete = 2; 92 bool complete = 2;
93 // The highest log stream index that was archived. 93 // The highest log stream index that was archived.
94 int64 terminal_index = 3; 94 int64 terminal_index = 3;
95 // If true, there was an archival error, and the referenced streams should be
96 // considered invalid.
97 bool error = 4;
95 98
96 // The archive URL of the log stream's stream data. 99 // The archive URL of the log stream's stream data.
97 string stream_url = 10; 100 string stream_url = 10;
98 // The size of the log stream's stream data. 101 // The size of the log stream's stream data.
99 int64 stream_size = 11; 102 int64 stream_size = 11;
100 103
101 // The archive URL of the log stream's index data. 104 // The archive URL of the log stream's index data.
102 string index_url = 20; 105 string index_url = 20;
103 // The size of the log stream's index data. 106 // The size of the log stream's index data.
104 int64 index_size = 21; 107 int64 index_size = 21;
(...skipping 19 matching lines...) Expand all
124 127
125 // TerminateStream is an idempotent operation to update the stream's terminal 128 // TerminateStream is an idempotent operation to update the stream's terminal
126 // index. 129 // index.
127 rpc TerminateStream(TerminateStreamRequest) returns (google.protobuf.Empty); 130 rpc TerminateStream(TerminateStreamRequest) returns (google.protobuf.Empty);
128 131
129 // ArchiveStream is an idempotent operation to record a log stream's archival 132 // ArchiveStream is an idempotent operation to record a log stream's archival
130 // parameters. It is used by the Archivist service upon successful stream 133 // parameters. It is used by the Archivist service upon successful stream
131 // archival. 134 // archival.
132 rpc ArchiveStream(ArchiveStreamRequest) returns (google.protobuf.Empty); 135 rpc ArchiveStream(ArchiveStreamRequest) returns (google.protobuf.Empty);
133 } 136 }
OLDNEW
« no previous file with comments | « common/api/logdog_coordinator/services/v1/pb.discovery.go ('k') | common/api/logdog_coordinator/services/v1/service.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698