Skip to content

Commit

Permalink
[dbnode] AggregateTiles RPC - minimal E2E flow (#2466)
Browse files Browse the repository at this point in the history
  • Loading branch information
linasm authored Aug 19, 2020
1 parent 81ce0ed commit 0dbbff1
Show file tree
Hide file tree
Showing 19 changed files with 1,966 additions and 155 deletions.
16 changes: 16 additions & 0 deletions src/dbnode/generated/thrift/rpc.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ service Node {
void repair() throws (1: Error err)
TruncateResult truncate(1: TruncateRequest req) throws (1: Error err)

AggregateTilesResult aggregateTiles(1: AggregateTilesRequest req) throws (1: Error err)

// Management endpoints
NodeHealthResult health() throws (1: Error err)
// NB: bootstrapped is for use with cluster management tools like k8s.
Expand Down Expand Up @@ -491,6 +493,20 @@ struct Query {
7: optional FieldQuery field
}

struct AggregateTilesRequest {
1: required string sourceNameSpace
2: required string targetNameSpace
3: required i64 rangeStart
4: required i64 rangeEnd
5: required string step
6: bool removeResets
7: optional TimeType rangeType = TimeType.UNIX_SECONDS
}

struct AggregateTilesResult {
1: required i64 processedBlockCount
}

struct DebugProfileStartRequest {
1: required string name
2: required string filePathTemplate
Expand Down
Loading

0 comments on commit 0dbbff1

Please sign in to comment.