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

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

Issue 1863973002: LogDog: Update to archival V2. (Closed) Base URL: https://github.com/luci/luci-go@grpcutil-errors
Patch Set: Fix proto comment. 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 "google/protobuf/duration.proto";
10
9 // ArchiveTask is a task queue task description for the archival of a single 11 // ArchiveTask is a task queue task description for the archival of a single
10 // log stream. 12 // log stream.
11 message ArchiveTask { 13 message ArchiveTask {
12 // The path of the log stream to archive. 14 // The path of the log stream to archive.
13 string path = 1; 15 string path = 1;
14 16
15 // If true, require that the log stream be complete. 17 // The archival key of the log stream. If this key doesn't match the key in
16 bool complete = 2; 18 // the log stream state, the request is superfluous and should be deleted.
19 bytes key = 2;
20
21 // Don't waste time archiving the log stream until it is at least this old.
22 //
23 // This is in place to prevent overly-aggressive archivals from wasting time
24 // trying, then failing, becuase the log stream data is still being collected
25 // into intermediate storage.
26 google.protobuf.Duration settle_delay = 3;
27
28 // The amount of time after the task was created that log stream completeness
29 // will be used as a success criteria. If the task's age is older than this
30 // value, completeness will not be enforced.
31 //
32 // The task's age can be calculated by subtracting its lease expiration time
33 // (leaseTimestamp) from its enqueued timestamp (enqueueTimestamp).
34 google.protobuf.Duration complete_period = 4;
17 } 35 }
OLDNEW
« no previous file with comments | « common/api/logdog_coordinator/services/v1/state.pb.go ('k') | common/api/logdog_coordinator/services/v1/tasks.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698