File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ service InternalService {
1616 rpc FindRange (FindRangeRequest ) returns (FindRangeResponse ) {}
1717 // Update space cache.
1818 rpc UpdateCache (UpdateCacheRequest ) returns (UpdateCacheResponse ) {}
19+ // Set error injection.
20+ rpc SetInjection (SetInjectionRequest ) returns (SetInjectionResponse ) {}
1921}
2022
2123// Description of a range.
@@ -122,3 +124,14 @@ message UpdateCacheResponse {
122124 // Error information. Set only on failure.
123125 Error error = 1 ;
124126}
127+
128+ // Set error injection.
129+
130+ message SetInjectionRequest {
131+ // Name of error injection.
132+ string name = 1 ;
133+ // True if injection is enabled, false otherwise.
134+ bool is_enabled = 2 ;
135+ }
136+
137+ message SetInjectionResponse {}
You can’t perform that action at this time.
0 commit comments