2018-08-02 21:02:38 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|
|
|
|
|
|
|
package com.influxdata.platform.task.backend;
|
|
|
|
|
|
|
|
option go_package = "backend";
|
|
|
|
|
|
|
|
// StoreTaskMeta is the internal state of a task.
|
|
|
|
message StoreTaskMeta {
|
|
|
|
int32 max_concurrency = 1;
|
2018-08-03 19:49:55 +00:00
|
|
|
|
|
|
|
// last_completed is a unix time stamp of the last completed run.
|
2018-08-02 21:02:38 +00:00
|
|
|
int64 last_completed = 2;
|
2018-08-03 19:49:55 +00:00
|
|
|
|
2018-08-02 21:02:38 +00:00
|
|
|
repeated StoreTaskMetaRun currently_running = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
message StoreTaskMetaRun {
|
2018-08-03 19:49:55 +00:00
|
|
|
// now represents a unix timestamp
|
2018-08-02 21:02:38 +00:00
|
|
|
int64 now = 1;
|
|
|
|
uint32 try = 2;
|
|
|
|
bytes run_id = 3 [(gogoproto.customname) = "RunID"];
|
|
|
|
}
|