mirror of
https://github.com/garethgeorge/backrest.git
synced 2026-09-27 10:25:40 +00:00
Revert "chore: use storm for indexing on top boltdb"
This reverts commit 90e7b0c593.
This commit is contained in:
+1
-1
@@ -16,4 +16,4 @@ plugins:
|
||||
- plugin: grpc-gateway-ts
|
||||
out: ../webui/gen/ts
|
||||
opt:
|
||||
- paths=source_relative
|
||||
- paths=source_relative
|
||||
@@ -1,3 +1,2 @@
|
||||
#! /bin/bash
|
||||
buf generate
|
||||
find ../gen/go -name "*.pb.go" -exec protoc-go-inject-tag -input="{}" \;
|
||||
@@ -11,20 +11,11 @@ message OperationList {
|
||||
}
|
||||
|
||||
message Operation {
|
||||
// @gotags: `storm:"id,increment"`
|
||||
int64 id = 1;
|
||||
// repo id if associated with a repo (always true)
|
||||
// @gotags: `storm:"index"`
|
||||
string repo_id = 2;
|
||||
// plan id if associated with a plan (always true)
|
||||
// @gotags: `storm:"index"`
|
||||
string plan_id = 3;
|
||||
// normalized snapshot id (first 8 chars) if associated with a snapshot
|
||||
// @gotags: `storm:"index"`
|
||||
string snapshot_id = 8;
|
||||
string repo_id = 2; // repo id if associated with a repo (always true)
|
||||
string plan_id = 3; // plan id if associated with a plan (always true)
|
||||
OperationStatus status = 4;
|
||||
int64 unix_time_start_ms = 5;
|
||||
// operation ended time in unix ms
|
||||
int64 unix_time_end_ms = 6;
|
||||
string display_message = 7; // human readable context message (if any)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user