diff options
author | James Fargher <proglottis@gmail.com> | 2022-12-13 23:27:12 +0300 |
---|---|---|
committer | James Fargher <proglottis@gmail.com> | 2022-12-13 23:27:12 +0300 |
commit | 06b92cf488942c6746795b581d27854339becc60 (patch) | |
tree | e1d33be4551b5a9a2f622353d1cac762cd2673ea | |
parent | 52fb0853a49b14abddfc5a824d680bd255773d39 (diff) | |
parent | 4e87834268b281710bbe9c178589c15215a07320 (diff) |
Merge branch 'pks-proto-objectpool-fix-deprecation' into 'master'
proto: Fix deprecation marking wrong ObjectPoolService RPC as deprecated
See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/5176
Merged-by: James Fargher <proglottis@gmail.com>
Approved-by: James Fargher <proglottis@gmail.com>
Co-authored-by: Patrick Steinhardt <psteinhardt@gitlab.com>
-rw-r--r-- | proto/go/gitalypb/objectpool_grpc.pb.go | 12 | ||||
-rw-r--r-- | proto/objectpool.proto | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/proto/go/gitalypb/objectpool_grpc.pb.go b/proto/go/gitalypb/objectpool_grpc.pb.go index df3df9cf7..12b333213 100644 --- a/proto/go/gitalypb/objectpool_grpc.pb.go +++ b/proto/go/gitalypb/objectpool_grpc.pb.go @@ -39,7 +39,8 @@ type ObjectPoolServiceClient interface { // does not depend on the pool member anymore and can be removed from it. Note that this function // is not safe for use. // - // This RPC is deprecated. Please use DisconnectGitAlternates instead. + // This RPC is deprecated. Please use DisconnectGitAlternates instead. It will be removed in + // Gitaly v16.0, refer to https://gitlab.com/gitlab-org/gitaly/-/issues/4655. ReduplicateRepository(ctx context.Context, in *ReduplicateRepositoryRequest, opts ...grpc.CallOption) (*ReduplicateRepositoryResponse, error) // DisconnectGitAlternates will disconnect the object pool member from its object pool. It will: // @@ -54,8 +55,7 @@ type ObjectPoolServiceClient interface { // If successful, the object pool member is disconnected from the object pool and does not depend // on it anymore. // - // This RPC does not return an error in case the repository is not linked to any object pool. It - // will be removed in Gitaly v16.0, refer to https://gitlab.com/gitlab-org/gitaly/-/issues/4655. + // This RPC does not return an error in case the repository is not linked to any object pool. DisconnectGitAlternates(ctx context.Context, in *DisconnectGitAlternatesRequest, opts ...grpc.CallOption) (*DisconnectGitAlternatesResponse, error) // FetchIntoObjectPool fetches all references from a pool member into an object pool so that // objects shared between this repository and other pool members can be deduplicated. This RPC @@ -160,7 +160,8 @@ type ObjectPoolServiceServer interface { // does not depend on the pool member anymore and can be removed from it. Note that this function // is not safe for use. // - // This RPC is deprecated. Please use DisconnectGitAlternates instead. + // This RPC is deprecated. Please use DisconnectGitAlternates instead. It will be removed in + // Gitaly v16.0, refer to https://gitlab.com/gitlab-org/gitaly/-/issues/4655. ReduplicateRepository(context.Context, *ReduplicateRepositoryRequest) (*ReduplicateRepositoryResponse, error) // DisconnectGitAlternates will disconnect the object pool member from its object pool. It will: // @@ -175,8 +176,7 @@ type ObjectPoolServiceServer interface { // If successful, the object pool member is disconnected from the object pool and does not depend // on it anymore. // - // This RPC does not return an error in case the repository is not linked to any object pool. It - // will be removed in Gitaly v16.0, refer to https://gitlab.com/gitlab-org/gitaly/-/issues/4655. + // This RPC does not return an error in case the repository is not linked to any object pool. DisconnectGitAlternates(context.Context, *DisconnectGitAlternatesRequest) (*DisconnectGitAlternatesResponse, error) // FetchIntoObjectPool fetches all references from a pool member into an object pool so that // objects shared between this repository and other pool members can be deduplicated. This RPC diff --git a/proto/objectpool.proto b/proto/objectpool.proto index 58ab461d3..c7b204b0e 100644 --- a/proto/objectpool.proto +++ b/proto/objectpool.proto @@ -61,7 +61,8 @@ service ObjectPoolService { // does not depend on the pool member anymore and can be removed from it. Note that this function // is not safe for use. // - // This RPC is deprecated. Please use DisconnectGitAlternates instead. + // This RPC is deprecated. Please use DisconnectGitAlternates instead. It will be removed in + // Gitaly v16.0, refer to https://gitlab.com/gitlab-org/gitaly/-/issues/4655. rpc ReduplicateRepository(ReduplicateRepositoryRequest) returns (ReduplicateRepositoryResponse) { option deprecated = true; option (op_type) = { @@ -82,8 +83,7 @@ service ObjectPoolService { // If successful, the object pool member is disconnected from the object pool and does not depend // on it anymore. // - // This RPC does not return an error in case the repository is not linked to any object pool. It - // will be removed in Gitaly v16.0, refer to https://gitlab.com/gitlab-org/gitaly/-/issues/4655. + // This RPC does not return an error in case the repository is not linked to any object pool. rpc DisconnectGitAlternates(DisconnectGitAlternatesRequest) returns (DisconnectGitAlternatesResponse) { option (op_type) = { op: MUTATOR |