github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/pkg/kv/kvserver/storage_services.proto (about) 1 // Copyright 2015 The Cockroach Authors. 2 // 3 // Use of this software is governed by the Business Source License 4 // included in the file licenses/BSL.txt. 5 // 6 // As of the Change Date specified in that file, in accordance with 7 // the Business Source License, use of this software will be governed 8 // by the Apache License, Version 2.0, included in the file 9 // licenses/APL.txt. 10 11 syntax = "proto2"; 12 package cockroach.storage; // HACK 13 option go_package = "kvserver"; 14 15 import "kv/kvserver/raft.proto"; 16 import "kv/kvserver/api.proto"; 17 import "gogoproto/gogo.proto"; 18 19 service MultiRaft { 20 rpc RaftMessageBatch (stream cockroach.kv.kvserver.RaftMessageRequestBatch) returns (stream cockroach.kv.kvserver.RaftMessageResponse) {} 21 rpc RaftSnapshot (stream cockroach.kv.kvserver.SnapshotRequest) returns (stream cockroach.kv.kvserver.SnapshotResponse) {} 22 } 23 24 service PerReplica { 25 rpc CollectChecksum(cockroach.kv.kvserver.CollectChecksumRequest) returns (cockroach.kv.kvserver.CollectChecksumResponse) {} 26 rpc WaitForApplication(cockroach.kv.kvserver.WaitForApplicationRequest) returns (cockroach.kv.kvserver.WaitForApplicationResponse) {} 27 rpc WaitForReplicaInit(cockroach.kv.kvserver.WaitForReplicaInitRequest) returns (cockroach.kv.kvserver.WaitForReplicaInitResponse) {} 28 }