| Index: common/api/logdog_coordinator/logs/v1/state.pb.go
|
| diff --git a/common/api/logdog_coordinator/logs/v1/state.pb.go b/common/api/logdog_coordinator/logs/v1/state.pb.go
|
| index f1af46f9422080eccf786b8fd30fe08feed03695..aff9519f2d529af9d4791ced68e15c1ba328badd 100644
|
| --- a/common/api/logdog_coordinator/logs/v1/state.pb.go
|
| +++ b/common/api/logdog_coordinator/logs/v1/state.pb.go
|
| @@ -22,17 +22,15 @@ type LogStreamState struct {
|
| ProtoVersion string `protobuf:"bytes,1,opt,name=proto_version,json=protoVersion" json:"proto_version,omitempty"`
|
| // The time when the log stream was registered with the Coordinator.
|
| Created *google_protobuf.Timestamp `protobuf:"bytes,2,opt,name=created" json:"created,omitempty"`
|
| - // The time when the log stream's state was last updated.
|
| - Updated *google_protobuf.Timestamp `protobuf:"bytes,3,opt,name=updated" json:"updated,omitempty"`
|
| // The stream index of the log stream's terminal message. If the value is -1,
|
| // the log is still streaming.
|
| - TerminalIndex int64 `protobuf:"varint,4,opt,name=terminal_index,json=terminalIndex" json:"terminal_index,omitempty"`
|
| + TerminalIndex int64 `protobuf:"varint,3,opt,name=terminal_index,json=terminalIndex" json:"terminal_index,omitempty"`
|
| // If non-nil, the log stream is archived, and this field contains archival
|
| // details.
|
| - Archive *LogStreamState_ArchiveInfo `protobuf:"bytes,5,opt,name=archive" json:"archive,omitempty"`
|
| + Archive *LogStreamState_ArchiveInfo `protobuf:"bytes,4,opt,name=archive" json:"archive,omitempty"`
|
| // Indicates the purged state of a log. A log that has been purged is only
|
| // acknowledged to administrative clients.
|
| - Purged bool `protobuf:"varint,6,opt,name=purged" json:"purged,omitempty"`
|
| + Purged bool `protobuf:"varint,5,opt,name=purged" json:"purged,omitempty"`
|
| }
|
|
|
| func (m *LogStreamState) Reset() { *m = LogStreamState{} }
|
| @@ -47,13 +45,6 @@ func (m *LogStreamState) GetCreated() *google_protobuf.Timestamp {
|
| return nil
|
| }
|
|
|
| -func (m *LogStreamState) GetUpdated() *google_protobuf.Timestamp {
|
| - if m != nil {
|
| - return m.Updated
|
| - }
|
| - return nil
|
| -}
|
| -
|
| func (m *LogStreamState) GetArchive() *LogStreamState_ArchiveInfo {
|
| if m != nil {
|
| return m.Archive
|
| @@ -72,7 +63,9 @@ type LogStreamState_ArchiveInfo struct {
|
| // If true, all log entries between 0 and terminal_index were archived. If
|
| // false, this indicates that the log stream was not completely loaded into
|
| // intermediate storage when the archival interval expired.
|
| - Whole bool `protobuf:"varint,4,opt,name=whole" json:"whole,omitempty"`
|
| + Complete bool `protobuf:"varint,4,opt,name=complete" json:"complete,omitempty"`
|
| + // The number of log
|
| + LogEntryCount int64 `protobuf:"varint,5,opt,name=log_entry_count,json=logEntryCount" json:"log_entry_count,omitempty"`
|
| }
|
|
|
| func (m *LogStreamState_ArchiveInfo) Reset() { *m = LogStreamState_ArchiveInfo{} }
|
| @@ -86,24 +79,25 @@ func init() {
|
| }
|
|
|
| var fileDescriptor1 = []byte{
|
| - // 299 bytes of a gzipped FileDescriptorProto
|
| - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x84, 0x90, 0x31, 0x4f, 0xfb, 0x30,
|
| - 0x10, 0xc5, 0xd5, 0xe6, 0xdf, 0x34, 0xbd, 0xfc, 0xdb, 0xc1, 0x42, 0x28, 0x04, 0x21, 0x50, 0x11,
|
| - 0x12, 0x93, 0x2b, 0x01, 0x23, 0x0b, 0x63, 0x25, 0x26, 0x17, 0x58, 0xa3, 0xb4, 0x71, 0xdd, 0x48,
|
| - 0x4e, 0x1c, 0x39, 0x4e, 0x41, 0x7c, 0x14, 0x3e, 0x2d, 0xf6, 0x39, 0x91, 0x60, 0x62, 0xbc, 0xf7,
|
| - 0x7b, 0xcf, 0xcf, 0x77, 0x10, 0xb7, 0x26, 0x37, 0x9c, 0x36, 0x5a, 0x19, 0x45, 0x42, 0xa9, 0x44,
|
| - 0xa1, 0x44, 0x7a, 0x29, 0x94, 0x12, 0x92, 0x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10, 0xd9, 0x85, 0x72, 0x84, 0x01, 0xc2, 0xa9, 0x9b, 0x1d, 0x3a, 0x81,
|
| - 0xc9, 0xfb, 0x41, 0x49, 0x8e, 0x9b, 0x45, 0xcc, 0x0f, 0xdb, 0x10, 0xaf, 0x72, 0xff, 0x1d, 0x00,
|
| - 0x00, 0xff, 0xff, 0x3b, 0x13, 0xfb, 0x13, 0xdb, 0x01, 0x00, 0x00,
|
| + // 315 bytes of a gzipped FileDescriptorProto
|
| + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x54, 0x90, 0xc1, 0x4b, 0xc3, 0x30,
|
| + 0x14, 0xc6, 0xd9, 0xaa, 0x5b, 0xf7, 0xe6, 0x26, 0xe4, 0x20, 0xb5, 0x22, 0xca, 0x44, 0xf1, 0x94,
|
| + 0x81, 0x7a, 0xf4, 0x22, 0xe2, 0x61, 0xe0, 0xa9, 0x53, 0xaf, 0x25, 0x6b, 0xb3, 0x58, 0x48, 0x93,
|
| + 0x92, 0xa5, 0x43, 0xff, 0x0e, 0xff, 0x09, 0xff, 0x4c, 0x93, 0x97, 0x55, 0xf4, 0xf8, 0x7e, 0xdf,
|
| + 0xfb, 0xf2, 0x7d, 0x2f, 0x30, 0xde, 0x58, 0x66, 0x39, 0x6d, 0x8c, 0xb6, 0x9a, 0x0c, 0xa4, 0x16,
|
| + 0xa5, 0x16, 0xe9, 0x99, 0xd0, 0x5a, 0x48, 0x3e, 0x47, 0xba, 0x6a, 0xd7, 0x73, 0x5b, 0xd5, 0xdc,
|
| + 0x2d, 0xd6, 0x4d, 0x58, 0x9c, 0x7d, 0x45, 0x30, 0x7d, 0xd6, 0x62, 0x69, 0x0d, 0x67, 0xf5, 0xd2,
|
| + 0xbf, 0x40, 0x2e, 0x60, 0x82, 0x5a, 0xbe, 0xe5, 0x66, 0x53, 0x69, 0x95, 0xf4, 0xce, 0x7b, 0xd7,
|
| + 0xa3, 0xec, 0x00, 0xe1, 0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