diff --git a/.gitignore b/.gitignore index 5ff6309..0bc6b66 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ target/ -!.mvn/wrapper/maven-wrapper.jar +.mvn/wrapper/maven-wrapper.jar !**/src/main/**/target/ !**/src/test/**/target/ @@ -35,4 +35,4 @@ build/ .vscode/ ### Mac OS ### -.DS_Store \ No newline at end of file +.DS_Store diff --git a/zeronos-proto/src/main/proto/rpc.proto b/zeronos-proto/src/main/proto/rpc.proto index 777d8ae..23c76bc 100644 --- a/zeronos-proto/src/main/proto/rpc.proto +++ b/zeronos-proto/src/main/proto/rpc.proto @@ -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; +}