Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
feat: add DeleteRangeRequest and DeleteRangeResponse
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun committed Apr 22, 2023
1 parent ec1578c commit dfcc469
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
target/
!.mvn/wrapper/maven-wrapper.jar
.mvn/wrapper/maven-wrapper.jar
!**/src/main/**/target/
!**/src/test/**/target/

Expand Down Expand Up @@ -35,4 +35,4 @@ build/
.vscode/

### Mac OS ###
.DS_Store
.DS_Store
10 changes: 10 additions & 0 deletions zeronos-proto/src/main/proto/rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,13 @@ message PutRequest {
message PutResponse {
ResponseHeader header = 1;
}

message DeleteRangeRequest {
bytes key = 1;
bytes range_end = 2;
}

message DeleteRangeResponse {
ResponseHeader header = 1;
int64 deleted = 2;
}

0 comments on commit dfcc469

Please sign in to comment.