From 3ee369b62ca6edebc5cf89075fb10ffa345b3fc1 Mon Sep 17 00:00:00 2001 From: jiachun Date: Tue, 12 Sep 2023 21:12:13 +0800 Subject: [PATCH] chore: license header --- src/common/meta/src/key.rs | 2 +- src/common/meta/src/key/kv_backend_helper.rs | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/common/meta/src/key.rs b/src/common/meta/src/key.rs index 4717144d7f67..affacff97d16 100644 --- a/src/common/meta/src/key.rs +++ b/src/common/meta/src/key.rs @@ -49,10 +49,10 @@ pub mod schema_name; pub mod table_info; pub mod table_name; // TODO(weny): removes it. +mod kv_backend_helper; #[allow(deprecated)] pub mod table_region; // TODO(weny): removes it. -mod kv_backend_helper; #[allow(deprecated)] pub mod table_route; diff --git a/src/common/meta/src/key/kv_backend_helper.rs b/src/common/meta/src/key/kv_backend_helper.rs index d9c605275019..ed0e74368370 100644 --- a/src/common/meta/src/key/kv_backend_helper.rs +++ b/src/common/meta/src/key/kv_backend_helper.rs @@ -1,3 +1,17 @@ +// Copyright 2023 Greptime Team +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::error::Result; use crate::kv_backend::KvBackendRef; use crate::rpc::store::{CompareAndPutRequest, PutRequest};