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

Side by Side Diff: logdog/api/logpb/log.proto

Issue 2422393002: Fix sparse index handling, add index params. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | logdog/api/logpb/log.pb.go » ('j') | logdog/common/archive/archive_test.go » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The LUCI Authors. All rights reserved. 1 // Copyright 2015 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0 2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file. 3 // that can be found in the LICENSE file.
4 4
5 syntax = "proto3"; 5 syntax = "proto3";
6 6
7 package logpb; 7 package logpb;
8 8
9 import "google/protobuf/timestamp.proto"; 9 import "google/protobuf/timestamp.proto";
10 import "google/protobuf/duration.proto"; 10 import "google/protobuf/duration.proto";
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 * A series of ascending-ordered Entry messages representing snapshots of an 256 * A series of ascending-ordered Entry messages representing snapshots of an
257 * archived log stream. 257 * archived log stream.
258 * 258 *
259 * Within this set of Entry messages, the "offset", "prefix_index", 259 * Within this set of Entry messages, the "offset", "prefix_index",
260 * "stream_index", and "time_offset" fields will be ascending. 260 * "stream_index", and "time_offset" fields will be ascending.
261 * 261 *
262 * The frequency of Entry messages is not defined; it is up to the Archivist 262 * The frequency of Entry messages is not defined; it is up to the Archivist
263 * process to choose a frequency. 263 * process to choose a frequency.
264 */ 264 */
265 repeated Entry entries = 2; 265 repeated Entry entries = 2;
266
267 /**
dnj 2016/10/17 22:12:12 New fields, backwards-compatible with old protobuf
268 * The last prefix index in the log stream.
269 *
270 * This is optional. If zero, there is either no information about the last
271 * prefix index, or there are zero entries in the prefix.
272 */
273 uint64 last_prefix_index = 3;
274 /**
275 * The last stream index in the log stream.
276 *
277 * This is optional. If zero, there is either no information about the last
278 * stream index, or there are zero entries in the stream.
279 */
280 uint64 last_stream_index = 4;
281 /**
282 * The number of log entries in the stream.
283 *
284 * This is optional. If zero, there is either no information about the number
285 * of log entries, or there are zero entries in the stream.
286 */
287 uint64 log_entry_count = 5;
266 } 288 }
OLDNEW
« no previous file with comments | « no previous file | logdog/api/logpb/log.pb.go » ('j') | logdog/common/archive/archive_test.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698