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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | logdog/api/logpb/log.pb.go » ('j') | logdog/common/archive/archive_test.go » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/api/logpb/log.proto
diff --git a/logdog/api/logpb/log.proto b/logdog/api/logpb/log.proto
index 675a6848bbefe17cb9bcb2e247b1a6a619566dd6..9d280bbea187544bf73c599e5001d93b2f93d8d5 100644
--- a/logdog/api/logpb/log.proto
+++ b/logdog/api/logpb/log.proto
@@ -263,4 +263,26 @@ message LogIndex {
* process to choose a frequency.
*/
repeated Entry entries = 2;
+
+ /**
dnj 2016/10/17 22:12:12 New fields, backwards-compatible with old protobuf
+ * The last prefix index in the log stream.
+ *
+ * This is optional. If zero, there is either no information about the last
+ * prefix index, or there are zero entries in the prefix.
+ */
+ uint64 last_prefix_index = 3;
+ /**
+ * The last stream index in the log stream.
+ *
+ * This is optional. If zero, there is either no information about the last
+ * stream index, or there are zero entries in the stream.
+ */
+ uint64 last_stream_index = 4;
+ /**
+ * The number of log entries in the stream.
+ *
+ * This is optional. If zero, there is either no information about the number
+ * of log entries, or there are zero entries in the stream.
+ */
+ uint64 log_entry_count = 5;
}
« 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