Skip to content

Commit c85004a

Browse files
committed
refactor(meta-service): remove unused feature. update MIN_METACLI_SEMVER to 0.7.59
1 parent dbaf2e5 commit c85004a

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

src/meta/client/src/grpc_action.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,9 @@ pub enum MetaGrpcWriteReq {
5656
pub enum MetaGrpcReadReq {
5757
GetKV(GetKVReq),
5858
MGetKV(MGetKVReq),
59-
// #[deprecated(since = "0.7.57-nightly", note = "deprecated since 2022-05-23")]
60-
PrefixListKV(PrefixListReq),
6159
ListKV(ListKVReq), // since 2022-05-23
6260
}
6361

64-
#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
65-
pub struct PrefixListReq(pub String);
66-
6762
/// Try convert tonic::Request<RaftRequest> to DoActionAction.
6863
impl TryInto<MetaGrpcWriteReq> for Request<RaftRequest> {
6964
type Error = tonic::Status;

src/meta/service/src/executor/action_handler.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@ impl ActionHandler {
7474
incr_meta_metrics_meta_request_result(r.is_ok());
7575
RaftReply::from(r)
7676
}
77-
MetaGrpcReadReq::PrefixListKV(a) => {
78-
let r = self.meta_node.prefix_list_kv(&a.0).await;
79-
incr_meta_metrics_meta_request_result(r.is_ok());
80-
RaftReply::from(r)
81-
}
8277
}
8378
}
8479

src/meta/service/src/version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub static METASRV_SEMVER: Lazy<Version> = Lazy::new(|| {
4747
pub static MIN_METACLI_SEMVER: Version = Version {
4848
major: 0,
4949
minor: 7,
50-
patch: 57,
50+
patch: 59,
5151
pre: Prerelease::EMPTY,
5252
build: BuildMetadata::EMPTY,
5353
};

0 commit comments

Comments
 (0)